mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-31 13:48:01 +00:00
This ignores E501 (line too long), some indentation related errors and configures gettext functions as known builtins, which makes the error list for most files very short. Messages in the generated UI files are ignored as well. This reduces the number of warnings from ~2300 to ~200.
10 lines
382 B
INI
10 lines
382 B
INI
[flake8]
|
||
# E127: continuation line over-indented for visual indent
|
||
# E128: continuation line under-indented for visual indent
|
||
# E265: block comment should start with ‘# ‘
|
||
# E402: module level import not at top of file
|
||
# E501: line too long (xx > 79 characters)
|
||
ignore = E127,E128,E265,E402,E501
|
||
builtins = _,N_,ungettext,ugettext_attributes,ugettext_countries
|
||
exclude = ui_*.py
|