Cannot run flake8 because django settings are not configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Kieran Spear |
Bug Description
After commit cea720e7937775 (Sort imports alphabetically), flake8 outputs the following messages below.
It happens with Django 1.5 series.
Even when the following errors are output, flake8 seems to be done as expected.
flake8 fails as expected when I enabled some checks currently ignored in tox.ini.
Thus it is not critical but it makes it harder to check the flake8 warnings.
Traceback (most recent call last):
File "/opt/stack/
__import__(mod)
File "/opt/stack/
from horizon.tabs.base import Tab
File "/opt/stack/
from horizon import exceptions
File "/opt/stack/
UNAUTHORIZED = tuple(HORIZON_
File "/opt/stack/
self.
File "/opt/stack/
from horizon.
File "/opt/stack/
'user_home': settings.
File "/opt/stack/
self.
File "/opt/stack/
% (desc, ENVIRONMENT_
ImproperlyConfi
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | nobody → Kieran Spear (kspear) |
importance: | Undecided → Low |
milestone: | none → havana-2 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | havana-2 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/33625
Review: https:/