Install mypy and make the minimum changes necessary for it to pass, albeit using --ignore-missing-imports
This commit is contained in:
parent
142e3eff2b
commit
c9f66eb91c
6 changed files with 44 additions and 6 deletions
|
@ -1,9 +1,10 @@
|
|||
from django.apps import apps
|
||||
from django.conf import settings
|
||||
from typing import Any, Dict, Type
|
||||
|
||||
from .convert import id_to_abc
|
||||
|
||||
prefixes = {}
|
||||
prefixes = {} # type: Dict[Type[Any], str]
|
||||
|
||||
|
||||
def short_url(entity):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue