Skip to content

Commit

Permalink
add formatcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyFox892 committed Sep 25, 2024
1 parent 6efa2b2 commit f73826f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
linting
coverage
type_check
formatcheck
skip_missing_interpreters = True
skipsdist = True

Expand Down Expand Up @@ -42,6 +43,13 @@ commands =
mypy --show-error-codes main.py
# add single files (ending with .py) or packages here

[testenv:formatcheck]
deps =
.[formatting]
commands =
black . --check
isort . --check

[testenv:spell_check]
# the spellcheck environment checks the code for typos
setenv = PYTHONPATH = {toxinidir}/src
Expand Down

0 comments on commit f73826f

Please sign in to comment.