File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ if [[ -n "$(git status -s)" ]]; then
5
5
echo " autopep8 yielded the following changes:"
6
6
git status -s
7
7
git --no-pager diff
8
- exit 1
8
+ exit 0 # don't be so strict about coding style errors
9
9
fi
10
10
11
11
autoflake -i -r --remove-all-unused-imports --remove-unused-variables .
12
12
if [[ -n " $( git status -s) " ]]; then
13
13
echo " autoflake yielded the following changes:"
14
14
git status -s
15
15
git --no-pager diff
16
- exit 1
16
+ exit 0 # don't be so strict about coding style errors
17
17
fi
18
18
19
19
echo " Coding style seems to be ok."
Original file line number Diff line number Diff line change @@ -4,6 +4,5 @@ max-complexity = 15
4
4
5
5
[pep8]
6
6
max-line-length = 80
7
- max-complexity = 15
8
7
exclude = */contrib/*
9
8
ignore = E251,E309
You can’t perform that action at this time.
0 commit comments