Merge "Dsiable newly added checks from new version of flake8"
This commit is contained in:
commit
c42a46cf80
@ -19,8 +19,6 @@ whitelist_externals = bash
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8 {posargs}
|
||||
# Check that .po and .pot files are valid:
|
||||
bash -c "find daisy -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
@ -44,5 +42,5 @@ commands = python setup.py build_sphinx
|
||||
# H404 multi line docstring should start with a summary
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
ignore = E711,E712,H302,H402,H404,H405,H904,F841,F821,E265,F812,F402,E226,E731
|
||||
ignore = E711,E712,H302,H402,H404,H405,H904,F841,F821,E265,F812,F402,E226,E731,H101,H201,H231,H233,H237,H238,H301,H306,H401,H403,H701,H702,H703
|
||||
exclude = .venv,.git,.tox,dist,doc,etc,*daisy/locale*,*openstack/common*,*lib/python*,*egg,build,daisy/db/sqlalchemy/api.py,daisy/i18n.py
|
||||
|
@ -36,6 +36,6 @@ downloadcache = ~/cache/pip
|
||||
# H302 import only modules
|
||||
# H303 no wildcard import
|
||||
# H404 multi line docstring should start with a summary
|
||||
ignore = F403,F812,F821,H233,H302,H303,H404,F841,F401,E731
|
||||
ignore = F403,F812,F821,H233,H302,H303,H404,F841,F401,E731,H101,H201,H231,H233,H237,H238,H301,H306,H401,H403,H701,H702,H703
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build
|
||||
|
@ -59,7 +59,7 @@ downloadcache = ~/cache/pip
|
||||
[flake8]
|
||||
exclude = .venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
ignore = H405,F821,F841,C901,E731,F405
|
||||
ignore = H405,F821,F841,C901,E731,F405,H101,H201,H231,H233,H237,H238,H301,H306,H401,H403,H701,H702,H703
|
||||
max-complexity = 20
|
||||
|
||||
[hacking]
|
||||
|
Loading…
x
Reference in New Issue
Block a user