typecheck: add --check-untyped-defs and fix some associated type errors

This commit is contained in:
InsanePrawn 2022-11-09 20:06:35 +01:00
parent c46cd0cd4f
commit a8e8ddc4b4
4 changed files with 15 additions and 7 deletions

View file

@ -1,2 +1,2 @@
#!/bin/bash
git ls-files \*.py | sort -u | xargs mypy --pretty --show-error-codes --install-types --ignore-missing-imports "$@"
git ls-files \*.py | sort -u | xargs mypy --pretty --show-error-codes --check-untyped-defs --install-types --ignore-missing-imports "$@"