Skip to content

Fix mypy error in swh/deposit/urls.py

If djangorestframework-stubs does not contain the stub for format_suffix_patterns, then mypy does not see any issue on passing it a List[object] as argument, so the # type: ignore is useless, so mypy complains about it.


Migrated from D4608 (view on Phabricator)

Merge request reports