Skip to content

Commit f3d2655

Browse files
author
Jussi Kukkonen
committed
mypy: disallow untyped calls
report an error whenever a function with type annotations calls a function defined without annotations. Also include exceptions.py in mypy checks. Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
1 parent 929b4b2 commit f3d2655

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ warn_unused_ignores = True
1414
warn_unreachable = True
1515
strict_equality = True
1616
disallow_untyped_defs = True
17-
files = tuf/api/
17+
disallow_untyped_calls = True
18+
files = tuf/api/, tuf/exceptions.py
1819

1920
[mypy-securesystemslib.*]
2021
ignore_missing_imports = True

0 commit comments

Comments
 (0)