Skip to content

Commit 670992d

Browse files
committed
Pull out pylint to separate checker
There's just too many false positives to be practical. Rather than litter the code with pylint exceptions, I'd prefer to just make "pylint -E" part of the travis builds and have the fuller "make pylint" just a manual process we occassionally run.
1 parent e961891 commit 670992d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,25 @@ check:
1818
#
1919
#
2020
#
21-
###### PYLINT ######
22-
# Python linter.
21+
# Proper docstring conventions according to pep257
2322
#
2423
#
24+
pep257 --add-ignore=D100,D101,D102,D103,D104,D105,D204
2525
#
26-
pylint --rcfile .pylintrc awsshell
2726
#
2827
#
28+
###### PYLINT ERRORS ONLY ######
2929
#
30-
# Proper docstring conventions according to pep257
3130
#
3231
#
33-
pep257 --add-ignore=D100,D101,D102,D103,D104,D105
32+
pylint --rcfile .pylintrc -E awsshell
3433

34+
pylint:
35+
###### PYLINT ######
36+
# Python linter. This will generally not have clean output.
37+
# So you'll need to manually verify this output.
38+
#
39+
#
40+
pylint --rcfile .pylintrc awsshell
3541
coverage:
3642
py.test --cov awsshell --cov-report term-missing tests/

0 commit comments

Comments
 (0)