Open qiulang opened 4 years ago
Currently, noqa
follows the behavior defined in pycodestyle.
Only error codes marked with a ^
in the following table will have NOQA enabled:
http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
It is preferable to specify --ignore=E731
instead.
I have added the following to pyproject.toml
and use it with pre-commit
[tool.autopep8]
ignore = ["E731"]
but still, the lambda is replaced, it that a known issue? related to https://github.com/hhatto/autopep8/issues/509#issuecomment-552066238
Python Code
Command Line
Your Environment