improve meta code

This commit is contained in:
Thomas Kriechbaumer 2015-06-15 11:58:24 +02:00
parent 4fbe406e2e
commit 08f988e9f6
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ if [[ -n "$(git status -s)" ]]; then
echo "autopep8 yielded the following changes:" echo "autopep8 yielded the following changes:"
git status -s git status -s
git --no-pager diff git --no-pager diff
exit 1 exit 0 # don't be so strict about coding style errors
fi fi
autoflake -i -r --remove-all-unused-imports --remove-unused-variables . autoflake -i -r --remove-all-unused-imports --remove-unused-variables .
@ -13,7 +13,7 @@ if [[ -n "$(git status -s)" ]]; then
echo "autoflake yielded the following changes:" echo "autoflake yielded the following changes:"
git status -s git status -s
git --no-pager diff git --no-pager diff
exit 1 exit 0 # don't be so strict about coding style errors
fi fi
echo "Coding style seems to be ok." echo "Coding style seems to be ok."

View File

@ -4,6 +4,5 @@ max-complexity = 15
[pep8] [pep8]
max-line-length = 80 max-line-length = 80
max-complexity = 15
exclude = */contrib/* exclude = */contrib/*
ignore = E251,E309 ignore = E251,E309