flake8 not running consistently against all files
Bug #1208584 reported by
Eric Harney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Kui Shi |
Bug Description
Files in bin/ aren't being checked with flake8 in some scenarios.
<edit bin/cinder-volume to not pass flake8 tests>
$ flake8 bin/cinder-volume
bin/cinder-
bin/cinder-
$ ./run_tests.sh -N -p
Running flake8 ...
$
$ ./run_tests.sh -p
Running flake8 ...
./cinder/
./cinder/
$
It looks like a) bin/cinder-* is not being checked, and b) rules aren't being applied consistently for cinder/tests/.
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
assignee: | nobody → Kui Shi (skuicloud) |
Changed in cinder: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
$ ./run_tests.sh -N -p
this command will use the "flake8" program installed in our host.
$ ./run_tests.sh -p
this command will use the "flake8" installed in the virtualenv.
The two version of flake8 may be different. so the result may be different.