Skip to content

Commit a30a8e8

Browse files
committed
Missing mypy stubs in for dateutil.relativedelta
Mypy reported a couple of errors for missing stubs on GitHub https://github.com/theupdateframework/python-tuf/runs/4431787287?check_suite_focus=true The error noted that: "tests/test_api.py:19: error: Library stubs not installed for "dateutil.relativedelta" (or incompatible with Python 3.10)" In order to resolve it I added this library to the list of libraries that we ignore their missing stubs or types. Signed-off-by: Martin Vrachev <[email protected]>
1 parent 6f5bd1b commit a30a8e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ exclude=".*_old.py"
8888
[[tool.mypy.overrides]]
8989
module = [
9090
"securesystemslib.*",
91-
"urllib3.*"
91+
"urllib3.*",
92+
"dateutil.relativedelta",
9293
]
9394
ignore_missing_imports = "True"

0 commit comments

Comments
 (0)