Exclude all files starting with . from flake8 tests
Some tests tool and IDE may create a .local directory inside the repo with virtualenvs for dependencies, other tools may create . directories or files for temporary reports. While they can be removed in a second time, or configured differently, it's advisable to just exclude all file starting with . from the flake8 tests to avoid confusion and possible unexpected errors. Change-Id: I6fdee20603437773c8a8c08cce3bbdcb4f8ef0e7
This commit is contained in:
parent
40f460183a
commit
a59cf6c698
2
tox.ini
2
tox.ini
|
@ -83,7 +83,7 @@ ignore = E123,E125,E741,W503
|
|||
# [H904] Delay string interpolations at logging calls.
|
||||
enable-extensions=H106,H203,H204,H205,H210,H904
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
exclude=.*,dist,doc,*lib/python*,*egg,build
|
||||
import-order-style = pep8
|
||||
application-import-names = sushy
|
||||
filename = *.py
|
||||
|
|
Loading…
Reference in New Issue