-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pylint #251
base: master
Are you sure you want to change the base?
Add pylint #251
Conversation
Codecov Report
@@ Coverage Diff @@
## master #251 +/- ##
==========================================
- Coverage 91.05% 90.14% -0.91%
==========================================
Files 46 46
Lines 2739 2609 -130
==========================================
- Hits 2494 2352 -142
- Misses 245 257 +12
Continue to review full report at Codecov.
|
@@ -1,7 +1,9 @@ | |||
FROM python:3.6-alpine | |||
|
|||
RUN mkdir /src \ | |||
&& mkdir /tool | |||
&& mkdir /tool \ | |||
&& apk add musl-dev gcc \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does pylint have native extensions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you asking if there are more dependencies that are required here? Pylint does have a concept of an "extension", but I don't see any that require external libraries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are no additional dependencies why do you need musl-dev and gcc?
output = output.split("\n") | ||
output = [line for line in output if not line.startswith("*********")] | ||
def make_command(self, files): | ||
self.check_options() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The py3k tool needs to remove the python
option as pylint --py3k
doesn't do anything useful in python3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, updated here: 61d75fb
This adds full pylint functionality to lint-review.