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 <jlarriba@redhat.com>
This commit is contained in:
4
tox.ini
4
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.
|
||||
|
Reference in New Issue
Block a user