diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2017-03-17 18:52:05 +0000 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2017-03-17 19:38:47 +0000 |
commit | 61091388e91ccd76939b12a08b57ea79d6317572 (patch) | |
tree | 9e72480172f8e7cb18a9616d82b6f25151c108d3 /tools/install_venv.py | |
parent | 676d5a2bad4416fff1e27af5cd2d96ff9c337511 (diff) | |
download | horizon-61091388e91ccd76939b12a08b57ea79d6317572.tar.gz |
hacking: noqa cleanup in horizon
attribute-level imports are not checked by hacking module now.
most noqa is used to disable warnings on attribute-level imports.
This commit drops noqa for this purpose.
After this, there are 8 noqa under horizon/ :)
In addition to this, the following changes are made.
horizon/exceptions.py: The following imports are dropped.
They are not used anywhere.
from django.http import HttpRequest
from django.views.debug import CLEANSED_SUBSTITUTE
horizon/forms/__init__.py:
Some entries were missing in __all__. They are added.
Change-Id: I33b504ef6c396f0675e8a340867e2ca59c77c684
Diffstat (limited to 'tools/install_venv.py')
-rw-r--r-- | tools/install_venv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index d857b1eaf..bdfad2953 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -20,7 +20,7 @@ import os import sys -import install_venv_common as install_venv # noqa +import install_venv_common as install_venv def print_help(venv, root): |