mirror of https://github.com/django/django.git
Fixed flake8 issues.
This commit is contained in:
parent
56ab5f52c7
commit
c726598c3d
|
@ -3,7 +3,7 @@ doc_files = docs extras AUTHORS INSTALL LICENSE README.rst
|
|||
install-script = scripts/rpm-install.sh
|
||||
|
||||
[flake8]
|
||||
exclude=build,.git,./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/*
|
||||
exclude=build,.git,./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/*,./django/dispatch/weakref_backports.py
|
||||
ignore=E128,E501,W601
|
||||
|
||||
[metadata]
|
||||
|
|
|
@ -388,7 +388,6 @@ class PostgresNewConnectionTests(TestCase):
|
|||
new_connection = new_connections[DEFAULT_DB_ALIAS]
|
||||
try:
|
||||
new_connection.settings_dict['AUTOCOMMIT'] = False
|
||||
cursor = new_connection.cursor()
|
||||
self.assertFalse(new_connection.get_autocommit())
|
||||
finally:
|
||||
new_connection.close()
|
||||
|
|
Loading…
Reference in New Issue