Add exclude
and show-source
in flake8 check
Add `exclude` to accelerate local pep8 check by skipping such directories as .tox and .idea. And add `show-source` to point out the error in the output. refer to: http://flake8.readthedocs.org/en/latest/config.html?highlight=exclude Change-Id: Ib8c6dd848fd1f9def3ca476dba0f90dc0cc1e613
This commit is contained in:
parent
7a6b9193e6
commit
0eb520bd7c
2
tox.ini
2
tox.ini
@ -36,6 +36,8 @@ commands = nosetests -v ./astara/test/functional/
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E133,E226,E241,E242,E731
|
ignore = E133,E226,E241,E242,E731
|
||||||
|
exclude=.venv,.git,.tox,dist,doc,.idea
|
||||||
|
show-source = True
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
commands = {toxinidir}/tools/generate_config_file_samples.sh
|
commands = {toxinidir}/tools/generate_config_file_samples.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user