Skip to content

Commit

Permalink
Add mypy to tox but do not enforce it yet
Browse files Browse the repository at this point in the history
This allows for mypy checking on the code, but with no enforcement at
present. It is defined and available, as something we can work on.
  • Loading branch information
sirosen committed Apr 25, 2023
1 parent a316114 commit 592ca2b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ deps = pre-commit~=2.9.3
skip_install = true
commands = pre-commit run --all-files

[testenv:mypy]
extras = dev
deps =
mypy
types-setuptools
types-docutils
commands =
mypy nose2/ {posargs}

[testenv:docs]
extras = dev
changedir = docs
Expand Down

0 comments on commit 592ca2b

Please sign in to comment.