зеркало из https://github.com/mozilla/mozillians.git
Fix failing flake8
This commit is contained in:
Родитель
cdb551d4e4
Коммит
8734f5b050
|
@ -18,6 +18,7 @@ def django_to_jinja(template_name, context, **kw):
|
|||
request = context_instance['request']
|
||||
return jingo.render(request, jingo.env.from_string(source))
|
||||
|
||||
|
||||
actions.render_to_response = django_to_jinja
|
||||
options.render_to_response = django_to_jinja
|
||||
sites.render_to_response = django_to_jinja
|
||||
|
|
|
@ -128,8 +128,8 @@ def main():
|
|||
try:
|
||||
downloads = [hashed_download(url, temp, digest)
|
||||
for url, digest in PACKAGES]
|
||||
check_output('pip install --no-index --no-deps -U ' +
|
||||
' '.join(quote(d) for d in downloads),
|
||||
check_output('pip install --no-index --no-deps -U '
|
||||
+ ' '.join(quote(d) for d in downloads),
|
||||
shell=True)
|
||||
except HashError as exc:
|
||||
print(exc)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[flake8]
|
||||
ignore=E731, W503
|
||||
max-line-length=99
|
||||
exclude=migrations,mozillians/settings/local.py
|
||||
exclude=migrations,mozillians/settings/local.py,docs
|
||||
|
|
Загрузка…
Ссылка в новой задаче