Skip to content

Commit 08f988e

Browse files
committed
improve meta code
1 parent 4fbe406 commit 08f988e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

check_coding_style.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ if [[ -n "$(git status -s)" ]]; then
55
echo "autopep8 yielded the following changes:"
66
git status -s
77
git --no-pager diff
8-
exit 1
8+
exit 0 # don't be so strict about coding style errors
99
fi
1010

1111
autoflake -i -r --remove-all-unused-imports --remove-unused-variables .
1212
if [[ -n "$(git status -s)" ]]; then
1313
echo "autoflake yielded the following changes:"
1414
git status -s
1515
git --no-pager diff
16-
exit 1
16+
exit 0 # don't be so strict about coding style errors
1717
fi
1818

1919
echo "Coding style seems to be ok."

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ max-complexity = 15
44

55
[pep8]
66
max-line-length = 80
7-
max-complexity = 15
87
exclude = */contrib/*
98
ignore = E251,E309

0 commit comments

Comments
 (0)