aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-04-13 18:58:24 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-04-13 18:58:24 +0200
commit84a494dcf4b237e2e5640b8a14dbeb16a29b3de7 (patch)
tree02742314cbc1fd19f27d3165a5023371487e7610
parent5b1f14a09d38f6a9861d3cb1b3cf2b27da04c62e (diff)
Run mypy with tests and qa
-rw-r--r--.gitignore1
-rw-r--r--mypy.ini7
-rwxr-xr-xrun_tests1
3 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e933fda..0ae4832 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.coverage
+.mypy_cache
*.pyc
.*.sw?
diff --git a/mypy.ini b/mypy.ini
new file mode 100644
index 0000000..4447f48
--- /dev/null
+++ b/mypy.ini
@@ -0,0 +1,7 @@
+[mypy]
+
+[mypy-ruamel.*]
+ignore_missing_imports = True
+
+[mypy-tornado.*]
+ignore_missing_imports = True
diff --git a/run_tests b/run_tests
index b609f1f..dcd5f15 100755
--- a/run_tests
+++ b/run_tests
@@ -2,3 +2,4 @@
nose2-3 --with-coverage --coverage-report=term
flake8 .
+mypy pyapd