From e9fecbf83077ec18b764b2b4c0065698a023f762 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 18 Jun 2015 10:31:27 +0200 Subject: add landscape/prospector config --- check_coding_style.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 check_coding_style.sh (limited to 'check_coding_style.sh') 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 -- cgit v1.2.3