Skip to content

Commit

Permalink
TYP: add typechecking stage to tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jan 15, 2023
1 parent e50c2b2 commit 9b1f96e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist = py38-docs,begin,py38-dependencies,py38-versions,py{38,39,310},py38-unyt-module-test-function,end
envlist = py38-docs,begin,py38-dependencies,py38-versions,py{38,39,310},py38-unyt-module-test-function,typecheck,end
isolated_build = True

[gh-actions]
python =
3.8: py38, py38-docs, py38-dependencies, py38-versions, py38-unyt-module-test-function
3.8: py38, py38-docs, py38-dependencies, py38-versions, py38-unyt-module-test-function, typecheck
3.9: py39
3.10: py310

Expand Down Expand Up @@ -79,6 +79,15 @@ depends = py38
commands =
python -c 'import unyt; unyt.test()'

[testenv:typecheck]
deps =
mypy==0.991
numpy==1.17.5
sympy==1.5

commands =
python -m mypy unyt

[testenv:begin]
commands =
coverage erase
Expand Down

0 comments on commit 9b1f96e

Please sign in to comment.