Remove extra flake8 args
By default, flake8 checks the current directory and its subdirectories, so it tests already for "." - and "manila/common" is a subdirectory of it. Thus remove "." and also "manila/common" as subdirectory. Right now "manila/common" gets tested twice - as part of "." and separate. Closes-Bug: #1383154 Change-Id: Ie187686bd8b9e9981b2556c1d394fa9a9ca63915
This commit is contained in:
parent
f67311a166
commit
54d12cab61
2
tox.ini
2
tox.ini
@ -16,7 +16,7 @@ downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8 {posargs} . manila/common
|
||||
flake8 {posargs}
|
||||
flake8 --filename=manila* bin
|
||||
|
||||
[testenv:genconfig]
|
||||
|
Loading…
x
Reference in New Issue
Block a user