mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
jenkins: run git pre-commit hook for pep8, pyflakes, etc
This provides a central script for running certain checks at commit time, and in jenkins automated builds.
This commit is contained in:
parent
9b313e76bb
commit
6085556a7b
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ fdroid=$WORKSPACE/env/bin/fdroid $WORKSPACE/tests/run-tests ~jenkins/
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
# run pyflakes
|
# run git pre-commit hook for pep8, pyflakes, etc
|
||||||
pyflakes fdroid makebuildserver fdroidserver/*.py setup.py
|
sh hooks/pre-commit
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue