Always run PEP-8 checks!

This commit is contained in:
Dave Page 2018-03-08 09:34:06 +00:00
parent 3a6994f719
commit e577859ed2
2 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@ linter:
cd web && yarn run linter cd web && yarn run linter
check: install-node bundle linter check: install-node bundle linter
cd web && yarn run karma start --single-run && python regression/runtests.py cd web && pycodestyle --config=.pycodestyle . && yarn run karma start --single-run && python regression/runtests.py
check-pep8: check-pep8:
cd web && pycodestyle --config=.pycodestyle . cd web && pycodestyle --config=.pycodestyle .

View File

@ -26,6 +26,11 @@ fi
$WORKSPACE/pgadmin-venv/bin/pip install -r requirements.txt || { echo 'ERROR: Failed to install the application requirements.' ; exit 1; } $WORKSPACE/pgadmin-venv/bin/pip install -r requirements.txt || { echo 'ERROR: Failed to install the application requirements.' ; exit 1; }
$WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt || { echo 'ERROR: Failed to install the regression test requirements.' ; exit 1; } $WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt || { echo 'ERROR: Failed to install the regression test requirements.' ; exit 1; }
echo "Running PEP-8 checks..."
echo
make check-pep8
echo "Running regression tests..." echo "Running regression tests..."
echo echo