From 1fb6f4554e37cab7eb52baf7aeaa7cbaa41dc179 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 18 Nov 2020 12:32:00 +0100 Subject: [PATCH] Update tox.ini from template --- tox.ini | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 26f052e..cbe278c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] skipsdist = True skip_missing_interpreters = true -envlist = py37,py38 +envlist = py37,py38,py39 [testenv] whitelist_externals = poetry @@ -22,9 +22,9 @@ setenv = [testenv:lint] commands = - - poetry run black --check --diff aleksis/ --exclude "migrations" - - poetry run isort -c --diff --stdout -rc -s migrations aleksis/ - - poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/ + poetry run black --check --diff aleksis/ + poetry run isort -c --diff --stdout aleksis/ + poetry run flake8 {posargs} aleksis/ [testenv:security] commands = @@ -40,7 +40,7 @@ commands = poetry run make -C docs/ html {posargs} [testenv:reformat] commands = - poetry run isort -rc aleksis/ + poetry run isort aleksis/ poetry run black aleksis/ [flake8] @@ -52,10 +52,10 @@ ignore = BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RS line_length = 100 multi_line_output = 3 include_trailing_comma = 1 -use_parantheses = 1 default_section = THIRDPARTY known_first_party = aleksis known_django = django +skip = migrations sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER [mypy] -- GitLab