6b6fe59bc0
Change-Id: I8dc2ccc148357019d822bc7e747608abc713e9e0
18 lines
462 B
Bash
Executable File
18 lines
462 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
# This is used by run_tests.sh and tox.ini
|
|
python tools/hacking.py --doctest
|
|
|
|
# Until all these issues get fixed, ignore.
|
|
PEP8='python tools/hacking.py --ignore=N404'
|
|
|
|
EXCLUDE='--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*'
|
|
EXCLUDE+=',./tools'
|
|
EXCLUDE+=',*egg,build'
|
|
${PEP8} ${EXCLUDE} .
|
|
|
|
${PEP8} --filename=marconi* bin
|
|
|
|
! pyflakes marconi/ | grep "imported but unused\|redefinition of function" | grep -v "__init__.py"
|