diff options
author | Victor Stinner <vstinner@redhat.com> | 2016-04-20 15:34:08 +0200 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2016-04-20 15:36:43 +0200 |
commit | 93f448b57716e8ed1b0c021c143de77c15418a7e (patch) | |
tree | ad5426e1ee5c7df9a0223da4cbbe20a99e47c62c /tox.ini | |
parent | f066d6963f6ab505add6b37af05d03ab5f54e340 (diff) | |
download | trove-93f448b57716e8ed1b0c021c143de77c15418a7e.tar.gz |
pep8: exclude .git/ subdirectory
When a git branch is called trove-xxx, "tox -e pep8" fails on
checking .git/logs/refs/heads/trove-xxx. It doesn't make sense to
validate Git branches using flake8.
Simply exclude .git from flake8.
Note: [testenv:pep8] of tox.ini looks for "trove-*" to validate
contrib/trove-guestagent.
Change-Id: I7c5582282a63da8cc1b3bbb6b76a267ef894a5d7
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ show-source = True # The rest of the ignores are TODOs. ignore = F821,H237,H238,H301,H404,H405,H501 builtins = _ -exclude=.venv,.tox,dist,doc,openstack,*egg,tools,etc,build,*.po,*.pot +exclude=.venv,.tox,.git,dist,doc,openstack,*egg,tools,etc,build,*.po,*.pot filename=*.py,trove-* [testenv:checklinks] |