pytorch/serve
Auf GitHub ansehen[Educational] Typing `.py` files iteratively with mypy
Open
#1.512 geöffnet am 15. März 2022
good first issue
Repository-Metriken
- Stars
- (3.844 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
We just added #1858 support so a good first issue for anyone new to torchserve or open source python projects in general I'd recommend the following
- Pick any file in
serve/ts - Add type annotations - for an example you can checkout https://github.com/pytorch/serve/blob/master/ts/context.py
- Run
mypy path_to_file_you_annotated.py - If you don't see any issues then make a PR and make sure the
mypylint action passes