summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Pittau <elfosardo@gmail.com>2023-03-28 18:11:35 +0200
committerRiccardo Pittau <elfosardo@gmail.com>2023-03-28 18:11:35 +0200
commitebc1053cee44e4ae2913c302a2a6ac4d8f961caf (patch)
tree7609a5a6f16ce2f771a504b2c6f31f9ba0088b79
parentabbd859b766c339f5de33ff08704a7b9ad045bef (diff)
downloadironic-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.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1792d81c9..1fa446d66 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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