Make some PEP8 understandable in run_tests.sh -p
Previously the error message is hard to understand when some hacking violation such as H803 is detected. It can be avoided by removing $included_dir from flake8 argument. As excluded dir is defined in tox.ini, $inlucded_dir is not needed. Change-Id: I8d1d48fa6feba74ffcec27bf971394b9db727945 Closes-Bug: #1229342
This commit is contained in:
parent
e063659d66
commit
a60ae8e390
|
@ -137,7 +137,7 @@ function run_pylint {
|
|||
|
||||
function run_pep8 {
|
||||
echo "Running flake8 ..."
|
||||
DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings ${command_wrapper} flake8 $included_dirs
|
||||
DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings ${command_wrapper} flake8
|
||||
}
|
||||
|
||||
function run_sphinx {
|
||||
|
|
Loading…
Reference in New Issue