Skip to content

Commit

Permalink
Include mypy for type checking during tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 3, 2020
1 parent 649bc79 commit 7455f2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mypy]
ignore_missing_imports = True
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules --flake8 --black --cov
addopts=--doctest-modules --flake8 --black --cov --mypy
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178
junit_family=xunit2
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ testing =
pytest-flake8
pytest-black >= 0.3.7
pytest-cov
pytest-mypy

# local

Expand Down

0 comments on commit 7455f2f

Please sign in to comment.