mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed E125 pep8 warnings
This commit is contained in:
parent
d1df395f3a
commit
7477a4ffde
38 changed files with 67 additions and 67 deletions
|
|
@ -69,11 +69,11 @@ def get_test_modules():
|
|||
for modpath, dirpath in discovery_paths:
|
||||
for f in os.listdir(dirpath):
|
||||
if ('.' in f or
|
||||
# Python 3 byte code dirs (PEP 3147)
|
||||
f == '__pycache__' or
|
||||
f.startswith('sql') or
|
||||
os.path.basename(f) in SUBDIRS_TO_SKIP or
|
||||
os.path.isfile(f)):
|
||||
# Python 3 byte code dirs (PEP 3147)
|
||||
f == '__pycache__' or
|
||||
f.startswith('sql') or
|
||||
os.path.basename(f) in SUBDIRS_TO_SKIP or
|
||||
os.path.isfile(f)):
|
||||
continue
|
||||
modules.append((modpath, f))
|
||||
return modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue