![]() flake8 6 upgrades to pyflakes 3, and in turn this means that support for parsing `# type: ` style annotations has been removed. https://github.com/PyCQA/pyflakes/pull/684 This caused one file to fail linting, because it had a typing import which was only used by a type comment. ``` mesonbuild/cmake/interpreter.py:55:5: F401 '.common.CMakeConfiguration' imported but unused ``` Updating it to actual annotations allows pyflakes to detect its usage again, and flake8 passes. Do the whole file while we are here. |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
common.py | ||
executor.py | ||
fileapi.py | ||
generator.py | ||
interpreter.py | ||
toolchain.py | ||
traceparser.py | ||
tracetargets.py |