diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-18 10:31:27 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-18 10:31:27 +0200 |
commit | e9fecbf83077ec18b764b2b4c0065698a023f762 (patch) | |
tree | 68358a5b2cbd9440afbc5a50d23fa3b4497aa7a4 /check_coding_style.sh | |
parent | 36d7e3fcd645ec9b5a7466046e044a2f1c1167ad (diff) | |
download | mitmproxy-e9fecbf83077ec18b764b2b4c0065698a023f762.tar.gz mitmproxy-e9fecbf83077ec18b764b2b4c0065698a023f762.tar.bz2 mitmproxy-e9fecbf83077ec18b764b2b4c0065698a023f762.zip |
add landscape/prospector config
Diffstat (limited to 'check_coding_style.sh')
-rwxr-xr-x | check_coding_style.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/check_coding_style.sh b/check_coding_style.sh deleted file mode 100755 index 5b38e003..00000000 --- a/check_coding_style.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -autopep8 -i -r -a -a . -if [[ -n "$(git status -s)" ]]; then - echo "autopep8 yielded the following changes:" - git status -s - git --no-pager diff - exit 1 -fi - -autoflake -i -r --remove-all-unused-imports --remove-unused-variables . -if [[ -n "$(git status -s)" ]]; then - echo "autoflake yielded the following changes:" - git status -s - git --no-pager diff - exit 1 -fi - -echo "Coding style seems to be ok." -exit 0 |