浏览代码

flake8: code meanings (#6481)

modifyDataloader
Jirka Borovec GitHub 2 年前
父节点
当前提交
e1a6a0b100
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 15 次插入15 次删除
  1. +15
    -15
      setup.cfg

+ 15
- 15
setup.cfg 查看文件

@@ -28,21 +28,21 @@ format = pylint
# see: https://www.flake8rules.com/
ignore =
E731 # Do not assign a lambda expression, use a def
F405
E402
F841
E741
F821
E722
F401
W504
E127
W504
E231
E501
F403
E302
F541
F405 # name may be undefined, or defined from star imports: module
E402 # module level import not at top of file
F841 # local variable name is assigned to but never used
E741 # do not use variables named ‘l’, ‘O’, or ‘I’
F821 # undefined name name
E722 # do not use bare except, specify exception instead
F401 # module imported but unused
W504 # line break after binary operator
E127 # continuation line over-indented for visual indent
W504 # line break after binary operator
E231 # missing whitespace after ‘,’, ‘;’, or ‘:’
E501 # line too long
F403 # ‘from module import *’ used; unable to detect undefined names
E302 # expected 2 blank lines, found 0
F541 # f-string without any placeholders


[isort]

正在加载...
取消
保存