From c1b01428b9e105845016305e27de5a6a1c90ccd7 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 18 Jun 2015 10:27:42 +0200 Subject: [PATCH] remove old coding style script --- check_coding_style.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 check_coding_style.sh diff --git a/check_coding_style.sh b/check_coding_style.sh deleted file mode 100755 index 5b38e003e..000000000 --- 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