Fix flake8 errors outside src/
This commit is contained in:
Родитель
1304a5958e
Коммит
bd3500a392
|
@ -6,7 +6,8 @@ import shlex
|
|||
from pkg_resources import safe_name
|
||||
|
||||
import pip
|
||||
from pip.req.req_file import parse_requirements, build_parser, break_args_options
|
||||
from pip.req.req_file import (parse_requirements, build_parser,
|
||||
break_args_options)
|
||||
from hashin import run_single_package
|
||||
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ INBOUND_EMAIL_VALIDATION_KEY = 'totally-unsecure-validation-string'
|
|||
# If you have settings you want to overload, put them in a local_settings.py.
|
||||
try:
|
||||
from local_settings import * # noqa
|
||||
except ImportError as exc:
|
||||
except ImportError:
|
||||
import warnings
|
||||
import traceback
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче