Skip to content
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

augment pylintrc (#1643) #209

Merged
merged 1 commit into from
Oct 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,35 @@ max-attributes=15

const-naming-style=any

disable=duplicate-code,
super-init-not-called
# based on pylint 2.1.1
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
generated-members=numpy.*,torch.*