1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
f87b17139b pep8: on *.TestCase, skip "E402 module level import not at top of file"
The tests use a little hack in order to cleanly import the fdroidserver
package locally like a regular package.  pep8 doesn't see that, so this
changes the pep8 to skip E402 on *.TestCase
2015-09-01 20:10:01 +02:00
Hans-Christoph Steiner
9e5dd19fc8 add test files to pre-commit hook and fix pep8 errors 2015-09-01 11:39:50 +02:00
Daniel Martí
8510961db9 Also ignore PEP8 W503 2015-03-05 15:24:52 +01:00
Daniel Martí
9be0d35bd1 Ignore all the pep8 errors ignored by the default config 2015-02-07 21:58:24 -08:00
Daniel Martí
3c9dd9bc86 Add bash-completion to pre-commit bash checks 2015-01-11 14:17:25 +01:00
Daniel Martí
e830b25561 pre-commit: differentiate sh and bash files 2015-01-09 16:08:27 +01:00
Daniel Martí
547661fd3a hooks/pre-commit: Fix message 2015-01-09 15:36:17 +01:00
Daniel Martí
5e15d8ff47 Add ruby tests to the pre-commit hook 2014-12-12 12:34:28 +01:00
Daniel Martí
c91fca7bb4 Properly catch return codes since -x is no longer used 2014-11-09 14:36:58 +01:00
Daniel Martí
d3faacf9b0 Don't accept pyflakes/pep8 not being installed, common err func 2014-11-09 14:34:24 +01:00
Daniel Martí
cf4635e655 List sh files to check like the python files 2014-11-09 14:31:50 +01:00
Daniel Martí
92a4bacbf6 git pre-commit hooks are always run from the root
No need to find out the basedir. We don't do it for the python tests anyway.
2014-11-09 14:29:28 +01:00
Hans-Christoph Steiner
e8a5d2b354 check the syntax of included shell scripts in the pre-commit hook 2014-10-23 14:26:11 -04:00
Daniel Martí
880f75110e Add setup.py to pep8+pyflakes hook, fix it 2014-08-16 11:51:23 +02:00
Daniel Martí
b891689bc5 Add config.buildserver.py to the pre-commit hook 2014-07-03 18:28:49 +02:00
Daniel Martí
c125ab9b7f Enable pep8 in pre-commit 2014-05-31 23:09:58 +02:00
Daniel Martí
709ead7db7 Add pre-commit hook with installer
Will enable pep8 once all the problems are gone
2014-05-28 09:28:28 +02:00