Type checking tweaks.

- Legacy-Id: 16867
This commit is contained in:
Henrik Levkowetz 2019-10-15 16:54:33 +00:00
parent a288401fd1
commit 77abc3868e
6 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ from django.urls import reverse as urlreverse
from django.contrib.contenttypes.models import ContentType
from django.conf import settings
from django.utils.encoding import python_2_unicode_compatible, force_text
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
import debug # pyflakes:ignore

View file

@ -12,7 +12,7 @@ import re
from django import forms
from django.shortcuts import render, get_object_or_404, redirect
from django.http import HttpResponseForbidden, Http404
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
from django.contrib.auth.decorators import login_required
from django.urls import reverse as urlreverse

View file

@ -17,7 +17,7 @@ from django.shortcuts import render, get_object_or_404, redirect
from django import forms
from django.conf import settings
from django.contrib.auth.decorators import login_required
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
from django.core.exceptions import ValidationError
from django.template.loader import render_to_string, TemplateDoesNotExist
from django.urls import reverse as urlreverse

View file

@ -11,7 +11,7 @@ import debug # pyflakes:ignore
# Django imports
from django import forms
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
# IETF imports
from ietf.group.models import Group, GroupHistory, GroupStateName

View file

@ -12,7 +12,7 @@ from django.conf import settings
from django.core.exceptions import ValidationError
from django.db import models
from django.contrib.auth.models import User
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
from django.urls import reverse as urlreverse
from django_password_strength.widgets import PasswordStrengthInput, PasswordConfirmationInput

View file

@ -11,7 +11,7 @@ if six.PY3:
from django.conf import settings
from django import forms
from django.urls import reverse
from django.utils.html import mark_safe
from django.utils.html import mark_safe # type:ignore
from django.forms.widgets import FileInput
from ietf.dbtemplate.forms import DBTemplateForm