diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-03 15:31:25 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-03 15:31:25 -0400 |
commit | 7455f2f25310b2d778a648e45d32033ccc790946 (patch) | |
tree | 907dc560b0163b1fd7199871ef12e63bdbac6c25 | |
parent | 649bc7934a13b78eb1283cad9919b9f26c5426e9 (diff) | |
download | pytest-runner-7455f2f25310b2d778a648e45d32033ccc790946.tar.gz |
Include mypy for type checking during tests.
-rw-r--r-- | mypy.ini | 2 | ||||
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | setup.cfg | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..976ba02 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,2 @@ +[mypy] +ignore_missing_imports = True @@ -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 @@ -28,6 +28,7 @@ testing = pytest-flake8 pytest-black >= 0.3.7 pytest-cov + pytest-mypy # local |