]> www.average.org Git - loctrkd.git/blobdiff - test/test_mypy.py
Update changelog for 2.00 release
[loctrkd.git] / test / test_mypy.py
index d2020d4ff7b2eb6f5abcf6b611395ba1e69c8d4f..e4bf8c62625fcc3114002570e94b310b487fb790 100644 (file)
@@ -1,7 +1,7 @@
 from pkg_resources import get_distribution, DistributionNotFound
 from subprocess import call
 from shutil import which
-from unittest import skipUnless, TestCase
+from unittest import main, skipUnless, TestCase
 
 mypy_version = 0.0
 try:
@@ -19,7 +19,11 @@ class TypeCheck(TestCase):
             "mypy",
             "--strict",
             "--ignore-missing-imports",
-            "gps303",
+            "loctrkd",
             "test",
         ]
         self.assertEqual(call(cmd), 0, "mypy typecheck")
+
+
+if __name__ == "__main__":
+    main()