mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-04-29 19:33:44 -04: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:
@@ -71,8 +71,8 @@ fdroid=$WORKSPACE/env/bin/fdroid $WORKSPACE/tests/run-tests ~jenkins/
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
# run pyflakes
|
||||
pyflakes fdroid makebuildserver fdroidserver/*.py setup.py
|
||||
# run git pre-commit hook for pep8, pyflakes, etc
|
||||
sh hooks/pre-commit
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user