From ebc1053cee44e4ae2913c302a2a6ac4d8f961caf Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Tue, 28 Mar 2023 18:11:35 +0200 Subject: 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1