-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Pylint #465
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
Merged
Merged
Add Pylint #465
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9099d10
Add pylint
7ab3e97
Last fixes
76073d7
Update MXNet Readme
6da1bff
Merge branch 'master' into pylint
iquintero ac4a330
Add pylint to travis
c9a0cfc
Address feedback
196c9fe
Minor changes
7166342
Fix integ test
96dd028
Make sure we use a consistent pylint version
beb4ddb
Merge branch 'master' into pylint
iquintero cdebccb
Revert the distributions change
4963e5b
Merge branch 'master' into pylint
iquintero 9fe7306
Avoid flakiness in pylint TF things
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[MASTER] | ||
|
||
ignore= | ||
tensorflow_serving | ||
|
||
[MESSAGES CONTROL] | ||
|
||
disable= | ||
C, # convention | ||
R, # refactor | ||
too-many-arguments, # We should fix the offending ones soon. | ||
too-many-lines, # Some files are too big, we should fix this too | ||
too-few-public-methods, | ||
too-many-instance-attributes, | ||
too-many-locals, | ||
len-as-condition, # Nice to have in the future | ||
bad-indentation, | ||
line-too-long, # We let Flake8 take care of this | ||
logging-format-interpolation, | ||
useless-object-inheritance, # We still support python2 so inheriting from object is ok | ||
invalid-name, | ||
import-error, | ||
logging-not-lazy, | ||
fixme, | ||
no-self-use, | ||
attribute-defined-outside-init, | ||
protected-access, | ||
invalid-all-object, | ||
arguments-differ, | ||
abstract-method, | ||
signature-differs | ||
|
||
[REPORTS] | ||
# Set the output format. Available formats are text, parseable, colorized, msvs | ||
# (visual studio) and html | ||
output-format=colorized | ||
|
||
# Tells whether to display a full report or only the messages | ||
# CHANGE: No report. | ||
reports=no | ||
|
||
[FORMAT] | ||
# Maximum number of characters on a single line. | ||
max-line-length=100 | ||
# Maximum number of lines in a module | ||
#max-module-lines=1000 | ||
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 tab). | ||
indent-string=' ' | ||
|
||
[BASIC] | ||
|
||
# Required attributes for module, separated by a comma | ||
#required-attributes= | ||
# List of builtins function names that should not be used, separated by a comma. | ||
# XXX: Should we ban map() & filter() for list comprehensions? | ||
# exit & quit are for the interactive interpreter shell only. | ||
# https://docs.python.org/3/library/constants.html#constants-added-by-the-site-module | ||
bad-functions= | ||
apply, | ||
exit, | ||
input, | ||
quit, | ||
|
||
[SIMILARITIES] | ||
# Minimum lines number of a similarity. | ||
min-similarity-lines=5 | ||
# Ignore comments when computing similarities. | ||
ignore-comments=yes | ||
# Ignore docstrings when computing similarities. | ||
ignore-docstrings=yes | ||
|
||
[VARIABLES] | ||
# Tells whether we should check for unused import in __init__ files. | ||
init-import=no | ||
# A regular expression matching the beginning of the name of dummy variables | ||
# (i.e. not used). | ||
dummy-variables-rgx=_|unused_ | ||
|
||
# List of additional names supposed to be defined in builtins. Remember that | ||
# you should avoid to define new builtins when possible. | ||
#additional-builtins= | ||
|
||
[LOGGING] | ||
# Apply logging string format checks to calls on these modules. | ||
logging-modules= | ||
logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ CHANGELOG | |
========== | ||
|
||
* doc-fix: fix rendering error in README.rst | ||
* build: added pylint | ||
|
||
1.14.1 | ||
====== | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.