123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- [flake8]
- ignore =
- E114, # indentation is not a multiple of four (comment)
- E115, # expected an indented block (comment)
- E262, # inline comment should start with '# '
- E265, # block comment should start with '# '
- E266, # too many leading '#' for block comment
- W605, # invalid escape sequence '\.'
- E402, # module level import not at top of file
- E502, # the backslash is redundant between brackets
- E712, # comparison to False should be 'if cond is False:' or 'if not cond:'
- E713, # test for membership should be 'not in'
- E722, # do not use bare 'except'
- E731, # do not assign a lambda expression, use a def
- E741, # ambiguous variable name 'l'
- E999, # SyntaxError: EOL while scanning string literal
- F401, # 'animation.utils.getCpuCount' imported but unused
- F403, # 'from gmodeler.model import *' used; unable to detect undefined names
- F405, # '_' may be undefined, or defined from star imports: gmodeler.model
- F811, # redefinition of unused 'wx' from line 106
- F821, # undefined name '_'
- F841, # local variable 'dc' is assigned to but never used
- E117, # over-indented
- E122, # continuation line missing indentation or outdented
- E123, # closing bracket does not match indentation of opening bracket's line
- E124, # closing bracket does not match visual indentation
- E125, # continuation line with same indent as next logical line
- E126, # continuation line over-indented for hanging indent
- E127, # continuation line over-indented for visual indent
- E128, # continuation line under-indented for visual indent
- E131, # continuation line unaligned for hanging indent
- E202, # whitespace before '}'
- E203, # whitespace before ':'
- E211, # whitespace before '('
- E222, # multiple spaces after operator
- E225, # missing whitespace around operator
- E226, # missing whitespace around arithmetic operator
- E231, # missing whitespace after ','
- E241, # multiple spaces after ','
- E261, # at least two spaces before inline comment
- E271, # multiple spaces after keyword
- E272, # multiple spaces before keyword
- E301, # expected 1 blank line, found 0
- E302, # expected 2 blank lines, found 1
- E303, # too many blank lines (3)
- E305, # expected 2 blank lines after class or function definition, found 1
- E306, # expected 1 blank line before a nested definition, found 0
- E401, # multiple imports on one line
- E501, # line too long (96 > 79 characters)
- W291, # trailing whitespace
- W293, # blank line contains whitespace
- W503, # line break before binary operator
- W504, # line break after binary operator
- max-line-length = 88
- exclude =
- .git,
- __pycache__,
- .env,
- .venv,
- env,
- venv,
- ENV,
- env.bak,
- venv.bak,
- ctypes,
- pydispatch,
- testsuite,
|