加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Python > 正文

python – 什么是Pep8 ErrorCode E41?

发布时间:2020-12-20 13:48:24 所属栏目:Python 来源:网络整理
导读:使用pep8和flake8的所有示例都使用以下配置设置: [pep8]ignore = E226,E302,E41max-line-length = 160 我的问题是“什么是E41”? 这会忽略线路忽略E401和E402吗? 这是E4错误的文档: E4 ImportE401 multiple imports on one lineE402 module level import
使用pep8和flake8的所有示例都使用以下配置设置:

[pep8]
ignore = E226,E302,E41
max-line-length = 160

我的问题是“什么是E41”?

这会忽略线路忽略E401和E402吗?
这是E4错误的文档:

E4  Import
E401    multiple imports on one line
E402    module level import not at top of file

解决方法

从第一个答案到 this issue:

Note: E41 means that all E41* codes will be ignored,but since currently there are no E41* codes,that’s a noop.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读