Skip to content

Commit 343a0d7

Browse files
committed
Linting setup.py
1 parent 9fe97d0 commit 343a0d7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ jobs:
8181
# re-introduced
8282
# check the entire main codebase
8383
- pylint --rcfile=.pylintrc-wip can/**.py
84-
# check setup.py
85-
- pylint --rcfile=.pylintrc *.py
86-
# check doc/conf.py
84+
- pylint --rcfile=.pylintrc setup.py
8785
- pylint --rcfile=.pylintrc doc.conf
8886
# check the scripts folder
8987
- find scripts -type f -name "*.py" | xargs pylint --rcfile=.pylintrc

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/usr/bin/env python
2+
"""
3+
Setup script for the `can` package.
4+
Learn more at https://github.com/hardbyte/python-can/
5+
"""
26

37
# pylint: disable=invalid-name
4-
# pylint: disable=missing-module-docstring
58

69
from __future__ import absolute_import
710

0 commit comments

Comments
 (0)