had to add a typestub for PIL due to
https://github.com/microsoft/pyright/issues/7832
We should remove it if that is either fixed or, if I fail to convince
Eric, after the relevant type information is added to Pillow
[no changelog]
[no changelog]
* passed in directory respects absolute and relative paths instead of
working "from repository root"
* we don't require the enableTypeIgnoreComments to be set so both
`pyright` and `pyright_tool` can work with the same config at the same
time
* use click's magic functionality to deal with missing / unreadable /
unwriteable files
* read the error results via a pipe, do not write to filesystem unless
requested
* simplified logic regarding "test mode"/"dev mode"
* renamed `--log` to more typical `--verbose`
* use pathlib more extensively