Skip to content

Commit 5b68375

Browse files
committed
Pylint takes modules not directories/paths
1 parent 60db830 commit 5b68375

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ jobs:
8383
- pylint --rcfile=.pylintrc-wip can/**.py
8484
# check setup.py
8585
- pylint --rcfile=.pylintrc *.py
86-
# check doc/conf.py and possible other scripts in there
87-
- pylint --rcfile=.pylintrc doc/**.py
86+
# check doc/conf.py
87+
- pylint --rcfile=.pylintrc doc.conf
8888
# check the scripts folder
89-
- pylint --rcfile=.pylintrc scripts/**.py
89+
- find scripts -type f -name "*.py" | xargs pylint --rcfile=.pylintrc
9090
# check the examples
91-
- pylint --rcfile=.pylintrc-wip examples/**.py
91+
- find examples -type f -name "*.py" | xargs pylint --rcfile=.pylintrc-wip
9292
# -------------
9393
# mypy checking:
9494
- mypy

0 commit comments

Comments
 (0)