move flake8 args to [flake8] section of tox.ini

tox supports a `[flake8]` section, so move the default
settings there rather than having them passed in on the
command line.  Projects can still override flake8 arguments
by using `RUN_FLAKE8_EXTRA_ARGS` in `.travis/config.sh`

Signed-off-by: Till Maas <opensource@till.name>
This commit is contained in:
Rich Megginson 2020-04-03 12:10:50 -06:00 committed by Till Maas
parent b9e19fb2be
commit 05a9223a33

View file

@ -160,7 +160,7 @@ deps =
whitelist_externals =
{[base]whitelist_externals}
commands =
bash {toxinidir}/.travis/runflake8.sh --exclude=.venv,.tox --statistics {posargs} .
bash {toxinidir}/.travis/runflake8.sh {posargs} .
[testenv:yamllint]
deps = yamllint
@ -255,6 +255,9 @@ addopts = -rxs
show_source = true
max-line-length = 88
ignore = E402,W503
exclude = .venv,.tox
statistics = true
#verbose = 3
[pylint]
max-line-length = 88