Skip to content

Commit

Permalink
Update PyTorch stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
huzecong committed May 29, 2019
1 parent 59f0f23 commit 6c81fa6
Show file tree
Hide file tree
Showing 8 changed files with 796 additions and 660 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: required
language: python
dist: xenial # required for Python 3.7
cache: pip # add caching for pip packages to speed-up build

python:
- "3.6"
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mypy_path = ./, ./stubs/
allow_redefinition = True

[mypy-torch]
ignore_errors = True
follow_imports = skip

[mypy-numpy]
follow_imports = skip
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
torch >= 1.0.0
funcsigs >= 1.0.2
numpy >= 1.16.2
mypy_extensions
mypy_extensions >= 0.4.1
Loading

0 comments on commit 6c81fa6

Please sign in to comment.