pre-commit.archlinux 288 Bytes
Newer Older
Cédric Bellegarde's avatar
Cédric Bellegarde committed
1 2
#!/bin/bash

Cédric Bellegarde's avatar
Cédric Bellegarde committed
3
pycodestyle --ignore=E722,E741,E402,E121,E123,E126,E226,E24,E704,W504,W605 eolie/*.py python-webextension/extension.py.in
Cédric Bellegarde's avatar
Cédric Bellegarde committed
4 5 6 7 8 9 10
ret="$?"

if (( ret != 0 ))
then
	exit 1
fi

11
pyflakes eolie/*.py python-webextension/extension.py.in
Cédric Bellegarde's avatar
Cédric Bellegarde committed
12 13 14 15 16 17 18 19
ret="$?"

if (( ret != 0 ))
then
	exit 1
fi

exit 0