我将 flake8 与 emacs 一起使用。如果我开始一个文件
# comment comment comment comment comment comment comment comment comment comment
class Foo(object):
pass
它说没有语法错误。但是,如果我将其包装为:
# comment comment comment comment comment comment comment comment
# comment comment
class Foo(object):
pass
对于“class”行,我得到“E302 预期 2 个空白行,找到 0”。
这是一个错误吗?可以通过配置设置修复吗?