Skip to content

Commit

Permalink
Flake8 fixes -- including not runnign flake8 over a backported file
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Nov 11, 2013
1 parent 0be7f57 commit bc742ca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion django/utils/autoreload.py
Expand Up @@ -39,7 +39,6 @@
from django.core.signals import request_finished
from django.utils._os import upath
from django.utils.importlib import import_module
from django.utils.translation.trans_real import all_locale_paths
from django.utils import six
try:
from django.utils.six.moves import _thread as thread
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -3,7 +3,7 @@ doc_files = docs extras AUTHORS INSTALL LICENSE README.rst
install-script = scripts/rpm-install.sh

[flake8]
exclude=./django/utils/dictconfig.py,./django/contrib/comments/*,./django/utils/unittest.py,./tests/comment_tests/*,./django/test/_doctest.py,./django/utils/six.py,./django/conf/app_template/*
exclude=./django/utils/dictconfig.py,./django/contrib/comments/*,./django/utils/unittest.py,./django/utils/lru_cache.py,./tests/comment_tests/*,./django/test/_doctest.py,./django/utils/six.py,./django/conf/app_template/*
ignore=E124,E125,E127,E128,E501,W601

[metadata]
Expand Down
2 changes: 0 additions & 2 deletions tests/urlpatterns_reverse/tests.py
Expand Up @@ -566,14 +566,12 @@ def setUp(self):
self.callable_resolver = RegexURLResolver(r'^$', urlconf_callables)

def test_named_handlers(self):
from .views import empty_view
handler = (empty_view, {})
self.assertEqual(self.resolver.resolve400(), handler)
self.assertEqual(self.resolver.resolve404(), handler)
self.assertEqual(self.resolver.resolve500(), handler)

def test_callable_handers(self):
from .views import empty_view
handler = (empty_view, {})
self.assertEqual(self.callable_resolver.resolve400(), handler)
self.assertEqual(self.callable_resolver.resolve404(), handler)
Expand Down

0 comments on commit bc742ca

Please sign in to comment.