Fixed all E226 violations
This commit is contained in:
parent
7288e1b02b
commit
c347f78cc1
|
@ -65,7 +65,7 @@ def get_image_dimensions(file_or_path, close=False):
|
||||||
raise
|
raise
|
||||||
if p.image:
|
if p.image:
|
||||||
return p.image.size
|
return p.image.size
|
||||||
chunk_size = chunk_size*2
|
chunk_size *= 2
|
||||||
return None
|
return None
|
||||||
finally:
|
finally:
|
||||||
if close:
|
if close:
|
||||||
|
|
|
@ -4,7 +4,7 @@ install-script = scripts/rpm-install.sh
|
||||||
|
|
||||||
[flake8]
|
[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,./tests/comment_tests/*,./django/test/_doctest.py,./django/utils/six.py,./django/conf/app_template/*
|
||||||
ignore=E124,E125,E127,E128,E226,E251,E501,W601
|
ignore=E124,E125,E127,E128,E251,E501,W601
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
license-file = LICENSE
|
license-file = LICENSE
|
||||||
|
|
Loading…
Reference in New Issue