Exclude "scratch" in tox flake8

After running "tox -e s3tests_tempauth", there are python files from
ceph-tests in swift3/test/functional/scratch directory that fail flake8
so we should just ignore the scratch directory.

Change-Id: I7f0e89c4da7590d5929b2f65a81fc6ddeb0ffe37
This commit is contained in:
karen chan 2016-12-20 05:44:44 -08:00
parent 710738b548
commit e1520f4ec9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ setenv = VIRTUAL_ENV={envdir}
# H405: multi line docstring summary not separated with an empty line
# H501: Do not use self.__dict__ for string formatting
ignore = F812,H101,H202,H233,H237,H301,H306,H401,H403,H404,H405,H501
exclude = .venv,.git,.tox,dist,doc,*egg,build
exclude = .venv,.git,.tox,dist,doc,*egg,build,scratch
show-source = True