Bug Report
As of 0.920, running mypy as an emacs compile command raises the following error:
-*- mode: compilation; default-directory: "~/Projects/vee.net/planet-srv/" -*-
Compilation started at Thu Dec 16 21:35:25
cd $SRC_ROOT && poetry run mypy
Traceback (most recent call last):
File "/home/mjog/.cache/pypoetry/virtualenvs/planet-srv-HUCGNwqs-py3.9/bin/mypy", line 8, in <module>
sys.exit(console_entry())
File "/home/mjog/.cache/pypoetry/virtualenvs/planet-srv-HUCGNwqs-py3.9/lib/python3.9/site-packages/mypy/__main__.py", line 11, in console_entry
main(None, sys.stdout, sys.stderr)
File "mypy/main.py", line 70, in main
File "mypy/util.py", line 509, in __init__
File "mypy/util.py", line 565, in initialize_unix_colors
TypeError: bytes object expected; got None
Reverting to 0.910 resolves the issue.
This may be a dependency or packaging issue - switching between 0.910 and 0.920 also causes toml to be updated from 0.10.2 to 2.0.0.
Python 3.9.7
Poetry 1.1.12
Bug Report
As of 0.920, running mypy as an emacs compile command raises the following error:
Reverting to 0.910 resolves the issue.
This may be a dependency or packaging issue - switching between 0.910 and 0.920 also causes toml to be updated from 0.10.2 to 2.0.0.
Python 3.9.7
Poetry 1.1.12