Install mypy and make the minimum changes necessary for it to pass, albeit using --ignore-missing-imports

This commit is contained in:
Danielle McLean 2018-05-29 09:37:28 +10:00
parent 142e3eff2b
commit c9f66eb91c
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240
6 changed files with 44 additions and 6 deletions

View file

@ -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):