【发布时间】:2018-04-29 04:07:51
【问题描述】:
我正在从 pyflakes 迁移到 flake8 以获得 # noqa 行忽略功能。为了简化迁移,我想从只检查 pyflakes 之前检查的任何内容开始,我喜欢 pyflakes 对"will never complain about style" 的简单承诺。我可以使用flake8 --select F 来开始 pyflakes 报告的任何内容吗?
flake8 允许选择或禁用特定的错误代码,例如F401“模块已导入但未使用”。 F 代表什么?
flake8 error-code documentation 没有列出所有错误代码。
【问题讨论】:
标签: python pep8 flake8 pyflakes