Skip to content

Commit

Permalink
Ignore .pylintrc file
Browse files Browse the repository at this point in the history
The VSCode python linter does not find dynamically generated members for
torch, such as torch.empty and torch.rand. Adding an entry in the
.pylintrc file silences those warnings.
See pytorch/pytorch#701 for discussion.
  • Loading branch information
adbugger committed May 30, 2020
1 parent f572c9b commit 80ab57f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,6 @@
# VSCode pylinter file
.pylintrc

# Pytorch saved files
*.pt
*.pth
Expand Down

0 comments on commit 80ab57f

Please sign in to comment.