The output of "run_tests.sh -p" is hard to understand when H803 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Akihiro Motoki |
Bug Description
When there is an error H803 (git commit title should not end with period), the output of "run_tests.sh -p" is difficult to understand.
ubuntu@
Checking environment.
Environment is up to date.
Running flake8 ...
Traceback (most recent call last):
File "/opt/stack/
load_
File "/opt/stack/
report = flake8_
File "/opt/stack/
self.
File "/opt/stack/
runner(
File "/opt/stack/
return fchecker.
File "/opt/stack/
self.
File "/opt/stack/
if not noqa(self.
IndexError: list index out of range
After removing $included_dirs from flake8 arguments, a user-friendly message is printed.
We can exclude files by tox.ini, so $included_dirs is not necessarily required.
ubuntu@
(.venv)
./manage.py:1:1: H803 git commit title ('Add support for loadbalancer providers.') should not end with period
Changed in horizon: | |
milestone: | none → havana-rc1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | havana-rc1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/48174
Review: https:/