aboutsummaryrefslogtreecommitdiffstats
path: root/check_coding_style.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check_coding_style.sh')
-rwxr-xr-xcheck_coding_style.sh20
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