Kaydet (Commit) 35f46ec7 authored tarafından Tim Graham's avatar Tim Graham

Fixed flake8 warnings.

üst 86c89265
......@@ -29,10 +29,10 @@ class UserForm(forms.Form):
max_length=50,
validators=[
validators.RegexValidator(
regex='^[a-z]*$',
message="Letters only.",
flags=re.IGNORECASE,
)
regex='^[a-z]*$',
message="Letters only.",
flags=re.IGNORECASE,
)
]
)
......
......@@ -642,7 +642,7 @@ class TemplateTests(TestCase):
# SYNTAX --
# 'template_name': ('template contents', 'context dict', 'expected string output' or Exception class)
# This import is necessary when tests are run isolated:
from .templatetags import custom
from .templatetags import custom # noqa
basedir = os.path.dirname(os.path.abspath(upath(__file__)))
tests = {
### BASIC SYNTAX ################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment