diff options
author | Riccardo Pittau <elfosardo@gmail.com> | 2023-03-28 18:11:35 +0200 |
---|---|---|
committer | Riccardo Pittau <elfosardo@gmail.com> | 2023-03-28 18:11:35 +0200 |
commit | ebc1053cee44e4ae2913c302a2a6ac4d8f961caf (patch) | |
tree | 7609a5a6f16ce2f771a504b2c6f31f9ba0088b79 | |
parent | abbd859b766c339f5de33ff08704a7b9ad045bef (diff) | |
download | ironic-ebc1053cee44e4ae2913c302a2a6ac4d8f961caf.tar.gz |
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: I5dc2fd2dec9690c77babe0c2b1dc5d0991413b32
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ commands = {posargs} # [W503] Line break before binary operator. ignore = E129,E741,W503 filename = *.py,app.wsgi -exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build +exclude=.*,dist,doc,*lib/python*,*egg,build import-order-style = pep8 application-import-names = ironic max-complexity=19 |