-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Improve pyproject.toml and add py.typed #6843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: cyy <cyyever@outlook.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6843 +/- ##
=======================================
Coverage 56.28% 56.28%
=======================================
Files 509 509
Lines 32580 32580
Branches 3099 3099
=======================================
Hits 18337 18337
Misses 13385 13385
Partials 858 858 ☔ View full report in Codecov by Sentry. |
transformer? |
|
typo |
Signed-off-by: cyy <cyyever@outlook.com>
|
@justinchuby isort is also removed. |
|
Also interesting, then the analysis mentioned in #6710 was wrong, because there py.typed was detected |
Description
py.typed is a marker file to support typing. See pep 561. It's used to indicate that ONNX has typing support in the source code and tools such as mypy and pylint can take advantage of that. Therefore, we don't need an additional pyi file for typing.
Motivation and Context
Better code.