mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-19 14:27:52 -04:00
Escalated mypy to use --strict option.
Use --strict in mypy to perform maximum type checking. Fixed the remaining errors.
This commit is contained in:
@@ -14,7 +14,7 @@ python3 -m pylint --init-hook="import sys; sys.setrecursionlimit(2000)" ../sour
|
||||
|
||||
echo "$0: running mypy"
|
||||
cd ../source/python/astronomy || Fail "error changing to Python source directory"
|
||||
mypy --disallow-untyped-defs --module astronomy || Fail "error checking types using mypy"
|
||||
mypy --strict --module astronomy || Fail "error checking types using mypy"
|
||||
cd ../../../generate || Fail "error changing back to generate directory"
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user