[TrivialFix] Ignore node_modules while we run flake8 test
Boring to see a bunch of flake8 error of from node_mpdules directory, especially in summer. Change-Id: Ice1e5af164bc8a6f60df233ab8e3a6bf06704ad4
This commit is contained in:
parent
e2f0a567a8
commit
1918ea3f3d
2
tox.ini
2
tox.ini
@ -159,7 +159,7 @@ commands =
|
|||||||
{envpython} {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings {posargs}
|
{envpython} {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject
|
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules
|
||||||
# H405 multi line docstring summary not separated with an empty line
|
# H405 multi line docstring summary not separated with an empty line
|
||||||
ignore = H405
|
ignore = H405
|
||||||
max-complexity = 20
|
max-complexity = 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user