mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
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:
parent
b9e19fb2be
commit
05a9223a33
1 changed files with 4 additions and 1 deletions
5
tox.ini
5
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue