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

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/1.11/ref/settings/
"""
from os import path
from typing import List
APPEND_SLASH = False
@ -30,7 +31,7 @@ SECRET_KEY = '6riil57g@r^wprf7mdy((+bs&(6l*phcn9&fd$l0@t-kzj+xww'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = [] # type: List[str]
INTERNAL_IPS = ['127.0.0.1', '::1']
# Settings to tighten up security - these can safely be on in dev mode too,