Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Added support for mypy in travis

Carlos B16af158ea668
diff --git a/.travis.yml b/.travis.yml
index fbbb5b9b0..11677efac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,10 @@ matrix:
python: "3.6"
install: pip install flake8
script: flake8
+ - env: MYPY_TYPE_CHECK
+ python: "3.6"
+ install: pip install mypy mypy-extensions
+ script: mypy @mypy_files.txt
- python: "3.6"
install:
diff --git a/mypy_files.txt b/mypy_files.txt
new file mode 100644
index 000000000..c13e9825e
--- /dev/null
+++ b/mypy_files.txt
@@ -0,0 +1 @@
+torchgeometry/image/gaussian.py