diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 15:43:59 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 15:43:59 +0100 |
commit | 95cef3c0e965202a36841a36c189d3917d7706ec (patch) | |
tree | 437fca1226ae5e0881689e20a369493c09f917d8 /netlib/check_coding_style.sh | |
parent | dd2c500294c195c9c1c6c774125538968a697583 (diff) | |
download | mitmproxy-95cef3c0e965202a36841a36c189d3917d7706ec.tar.gz mitmproxy-95cef3c0e965202a36841a36c189d3917d7706ec.tar.bz2 mitmproxy-95cef3c0e965202a36841a36c189d3917d7706ec.zip |
merge metadata files
Diffstat (limited to 'netlib/check_coding_style.sh')
-rwxr-xr-x | netlib/check_coding_style.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/netlib/check_coding_style.sh b/netlib/check_coding_style.sh deleted file mode 100755 index a1c94e03..00000000 --- a/netlib/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 0 # don't be so strict about coding style errors -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 0 # don't be so strict about coding style errors -fi - -echo "Coding style seems to be ok." -exit 0 |