[fix] pep8 compatibilty

This commit is contained in:
Adam Tauber 2016-01-18 12:47:31 +01:00
parent 6a158ca2d2
commit bd22e9a336
18 changed files with 30 additions and 29 deletions

View file

@ -16,7 +16,10 @@ update_dev_packages() {
pep8_check() {
echo '[!] Running pep8 check'
pep8 --max-line-length=120 "$SEARX_DIR" "$BASE_DIR/tests"
# ignored rules:
# E402 module level import not at top of file
# W503 line break before binary operator
pep8 --max-line-length=120 --ignore "E402,W503" "$SEARX_DIR" "$BASE_DIR/tests"
}
unit_tests() {