Skip to content

Commit

Permalink
make sure modern mypy is used
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Höning <[email protected]>
  • Loading branch information
nhoening committed Jul 26, 2023
1 parent 67c84ce commit 463822c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_mypy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
pip install mypy
pip install --upgrade mypy > 1.4
pip install types-pytz types-requests types-Flask types-click types-redis types-tzlocal types-python-dateutil types-setuptools
files=$(find . -name \*.py -not -path "./venv/*" -not -path ".eggs/*" -not -path "./build/*" -not -path "./dist/*" -not -path "./scripts/*")
mypy --follow-imports skip --ignore-missing-imports $files

0 comments on commit 463822c

Please sign in to comment.