我使用pycodestyle和pycodestyle_magic,但不能忽略错误。
我的代码如下:
%pip install flake8 pycodestyle_magic
%load_ext pycodestyle_magic
%pycodestyle_on --ignore E225
a=1我期待没有警告,没有错误。
但结果是:
1:2: E225 missing whitespace around operator这不是我所期望的。
技术细节:
发布于 2022-01-24 11:01:16
你拿到setup.cfg文件了吗?如果你这样做了,你可以把它放在那里:
[pycodestyle]
ignore = E225https://stackoverflow.com/questions/70832708
复制相似问题