From 05a9223a33c7cc4ec57be1f6b5e6039ccef476b5 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Fri, 3 Apr 2020 12:10:50 -0600 Subject: [PATCH] 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 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c7716e2..b72fe50 100644 --- a/tox.ini +++ b/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