Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
a768117f
Unverified
Commit
a768117f
authored
Oct 25, 2019
by
Yan Ni
Committed by
GitHub
Oct 25, 2019
Browse files
augment pylintrc (#1643)
changed pylint rules according to previous discussions.
parent
7a20792a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
pylintrc
pylintrc
+29
-2
No files found.
pylintrc
View file @
a768117f
...
@@ -14,8 +14,35 @@ max-attributes=15
...
@@ -14,8 +14,35 @@ max-attributes=15
const-naming-style=any
const-naming-style=any
disable=duplicate-code,
# based on pylint 2.1.1
super-init-not-called
disable=W,C,R,I,no-member
# will be enforced on CI Pipeline
enable= unused-wildcard-import,
bad-whitespace,
unused-import,
bad-continuation,
wrong-import-order,
trailing-whitespace,
logging-not-lazy,
line-too-long,
unused-variable,
wildcard-import,
useless-super-delegation,
len-as-condition,
logging-format-interpolation,
redefined-builtin,
deprecated-method
# will change to `enable` one day
# disable= missing-docstring
# will not be enforced on CI but highly recommend contributor fixing it
# enable=no-member,
# too-many-branches,
# protected-access
ignore-patterns=test.py
# List of members which are set dynamically and missed by pylint inference
# List of members which are set dynamically and missed by pylint inference
generated-members=numpy.*,torch.*
generated-members=numpy.*,torch.*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment