aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-15 11:58:24 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-15 11:58:24 +0200
commit08f988e9f65d8628657cf2018fd36ab82a4d0789 (patch)
tree30685637495a5a7a0073053365b0541037336954
parent4fbe406e2e9f3fc46f5ba13c9a43dd86ea9bca4a (diff)
downloadmitmproxy-08f988e9f65d8628657cf2018fd36ab82a4d0789.tar.gz
mitmproxy-08f988e9f65d8628657cf2018fd36ab82a4d0789.tar.bz2
mitmproxy-08f988e9f65d8628657cf2018fd36ab82a4d0789.zip
improve meta code
-rwxr-xr-xcheck_coding_style.sh4
-rw-r--r--setup.cfg1
2 files changed, 2 insertions, 3 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."
diff --git a/setup.cfg b/setup.cfg
index bc980d56..4207020e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,6 +4,5 @@ max-complexity = 15
[pep8]
max-line-length = 80
-max-complexity = 15
exclude = */contrib/*
ignore = E251,E309