diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-01-04 14:34:44 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-01-04 14:34:44 +0100 |
| commit | a62fde90aa946b0ea5516b1ae4591fc9f67ea22e (patch) | |
| tree | 3ce5d9a06ca81d769c3bd6d28d51fb39c20a1f64 /scripts | |
| parent | 1e4f2174528f21760a4743e05dfe7da6068085fa (diff) | |
| download | muhqs-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/Makefile | 2 |
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) |
