aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2022-01-04 14:34:44 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2022-01-04 14:34:44 +0100
commita62fde90aa946b0ea5516b1ae4591fc9f67ea22e (patch)
tree3ce5d9a06ca81d769c3bd6d28d51fb39c20a1f64 /scripts
parent1e4f2174528f21760a4743e05dfe7da6068085fa (diff)
downloadmuhqs-game-a62fde90aa946b0ea5516b1ae4591fc9f67ea22e.tar.gz
muhqs-game-a62fde90aa946b0ea5516b1ae4591fc9f67ea22e.zip
fix mypy invocation for newer mypy version
Mypy >= 0.780 complained about finding a source file multiple times once via the passed path and once in the module scripts.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 9875e834..2d9a39ab 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -14,4 +14,4 @@ check-pylint:
pylint --generated-members=cv2.* --rcfile=.pylint.rc -j 0 $(PYTHONFILES) || ./tools/check-pylint $$?
check-mypy:
- mypy $(PYTHONFILES)
+ MYPYPATH=scripts mypy --namespace-packages --explicit-package-bases $(PYTHONFILES)