Skip to content

Commit

Permalink
add linting to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
pgammans committed Jun 27, 2023
1 parent 6d83535 commit c4cec26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
py39-django{40,41,42,43}
py310-django{40,41,42,43}
docs
lint

[testenv]
setenv =
Expand Down Expand Up @@ -33,6 +34,11 @@ commands =
[testenv:makemigrations]
commands = python runtests.py makemigrations

[testenv:lint]
deps =
flake8
commands = flake8 {toxinidir}

[testenv:docs]
deps =
Sphinx
Expand Down

0 comments on commit c4cec26

Please sign in to comment.