Skip to content

Commit

Permalink
👷 Run isort and mypy on just {src, tests}
Browse files Browse the repository at this point in the history
Was already like this for black.
Running tox locally with a local venv in the project directory was failing
(and taking unnecessarily long)... Actually still does:
flake8 + isort + black > uv  😉
  • Loading branch information
CharString committed Sep 18, 2024
1 parent b75aea0 commit 2da8590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ commands = mypy src
[testenv:isort]
extras = dev
skipsdist = True
commands = isort --check-only --diff .
commands = isort --check-only --diff src tests

[testenv:black]
extras = dev
Expand All @@ -39,7 +39,7 @@ commands = black --check src tests docs
[testenv:flake8]
extras = dev
skipsdist = True
commands = flake8 .
commands = flake8 src tests

[testenv:docs]
basepython=python
Expand Down

0 comments on commit 2da8590

Please sign in to comment.