Skip to content

Commit

Permalink
Merge pull request #346 from calumy/remove-linting-from-testing
Browse files Browse the repository at this point in the history
Remove flake8 and isort from tox config
  • Loading branch information
johnraz committed May 9, 2024
2 parents 88de7b4 + f7eae69 commit 01c1de4
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
[tox]
envlist =
isort,
flake8,
py{36,37,38,39,310}-django32,
py{38,39,310,311,312}-django42,
py{310,311,312}-django50,

[testenv:flake8]
deps = flake8
changedir = {toxinidir}
commands = flake8 knox

[testenv:isort]
deps = isort
changedir = {toxinidir}
commands = isort --check-only --diff \
knox \
knox_project/views.py \
setup.py \
tests

[testenv]
commands =
python manage.py migrate
Expand All @@ -33,7 +17,6 @@ deps =
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
markdown>=3.0
isort>=5.0
djangorestframework
freezegun
mkdocs
Expand All @@ -50,5 +33,5 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311, isort, flake8
3.11: py311
3.12: py312

0 comments on commit 01c1de4

Please sign in to comment.