From 8d5dd9fa57fb60811074bdce6232e6e54bea9e4e Mon Sep 17 00:00:00 2001 From: jlarriba Date: Thu, 4 Sep 2025 11:44:51 +0200 Subject: [PATCH] Exclude .eggs dir from pep8 tests Depending on how tox can be configured, there could be an .eggs directory being created in the ceilometer root dir. That dir should not be checked by pep8. Change-Id: I0856657b25017fa1a6aaa97245502fcf13c84c90 Signed-off-by: jlarriba --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b60e3567ed..daba92fcb8 100644 --- a/tox.ini +++ b/tox.ini @@ -77,14 +77,14 @@ setenv = PYTHONHASHSEED=0 [doc8] ignore = D000 -ignore-path = .venv,.git,.tox,*ceilometer/locale*,*lib/python*,ceilometer.egg*,doc/build,doc/source/api,releasenotes/* +ignore-path = .venv,.git,.tox,.eggs,*ceilometer/locale*,*lib/python*,ceilometer.egg*,doc/build,doc/source/api,releasenotes/* [flake8] # E123 closing bracket does not match indentation of opening bracket's line # W503 line break before binary operator # W504 line break after binary operator ignore = E123,W503,W504 -exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide +exclude=.venv,.git,.tox,.eggs,dist,doc,*lib/python*,*egg,build,install-guide # [H106] Do not put vim configuration in source files. # [H203] Use assertIs(Not)None to check for None. # [H204] Use assert(Not)Equal to check for equality.