aboutsummaryrefslogtreecommitdiffstats
path: root/check_coding_style.sh
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-06-18 11:37:04 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-06-18 11:37:04 +0200
commit3e282d764e5ad37d54b609dfac4d50527d64dd79 (patch)
tree786726c85bb59990b25e48452357d6007718ae0f /check_coding_style.sh
parent014b76bff7b9af0a9ff3704be49aa84232c7fa3e (diff)
parent6a4dcaf3561cf279937114a8a80ebad8adcc1eec (diff)
downloadmitmproxy-3e282d764e5ad37d54b609dfac4d50527d64dd79.tar.gz
mitmproxy-3e282d764e5ad37d54b609dfac4d50527d64dd79.tar.bz2
mitmproxy-3e282d764e5ad37d54b609dfac4d50527d64dd79.zip
Merge branch 'master' of github.com:mitmproxy/netlib
Diffstat (limited to 'check_coding_style.sh')
-rwxr-xr-xcheck_coding_style.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/check_coding_style.sh b/check_coding_style.sh
index 5b38e003..a1c94e03 100755
--- a/check_coding_style.sh
+++ b/check_coding_style.sh
@@ -5,7 +5,7 @@ if [[ -n "$(git status -s)" ]]; then
echo "autopep8 yielded the following changes:"
git status -s
git --no-pager diff
- exit 1
+ exit 0 # don't be so strict about coding style errors
fi
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:"
git status -s
git --no-pager diff
- exit 1
+ exit 0 # don't be so strict about coding style errors
fi
echo "Coding style seems to be ok."