Skip to content

Instantly share code, notes, and snippets.

@mbforbes
Created September 26, 2017 18:19
Show Gist options
  • Save mbforbes/cf3b956562c6d555176d8898367e98b0 to your computer and use it in GitHub Desktop.
Save mbforbes/cf3b956562c6d555176d8898367e98b0 to your computer and use it in GitHub Desktop.
Running `stubgen --recursive torch` and seeing that pytorch's syntax decisions (using reserved keywords; mixing default w/ non-default args) causes stubgen to make invalid `.pyi` files
##########Linting Output - mypy##########
out/torch/_C.pyi:2691: error: invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment