Skip to content

Commit

Permalink
ci: run mypy in tox through pre-commit
Browse files Browse the repository at this point in the history
This is possible since #125
  • Loading branch information
redeboer committed Dec 6, 2021
1 parent cdc626b commit 333470a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,10 @@ passenv = HOME
description =
Perform all linting, formatting, and spelling checks
setenv =
SKIP = mypy, pyright
SKIP = pyright
allowlist_externals =
mypy
pre-commit
commands =
mypy src tests # run separately because of potential caching problems
pre-commit run {posargs} -a

[testenv:test]
Expand Down

0 comments on commit 333470a

Please sign in to comment.