mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-21 19:57:19 -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:
1 parent
9b313e76bb
commit
6085556a7b
1 file changed
+2
-2
+2
-2
@@ -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