Skip to content

Commit

Permalink
[pylint] Torch also does weird generated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Feb 22, 2021
1 parent ae5f6c9 commit b00833b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ contextmanager-decorators=contextlib.contextmanager
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=coolwarm
generated-members=coolwarm,torch.*

# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
Expand Down

0 comments on commit b00833b

Please sign in to comment.