-
Notifications
You must be signed in to change notification settings - Fork 116
feat(python): Add type-checking derecated #499
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #499 +/- ##
========================================
Coverage 73.30% 73.30%
========================================
Files 26 26
Lines 8068 8068
Branches 1691 1692 +1
========================================
Hits 5914 5914
Misses 1627 1627
Partials 527 527
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e866a9f
to
ce8293f
Compare
41a9f06
to
a826b6d
Compare
5a8bd83
to
d1353fe
Compare
A lot of tests start failing. Some files look to be missing 🤔 |
Yeah, fallout from #527 discussions. Will fix it there and rebase this after |
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
- Added `spglib._spglib.pyi` stump file - Configured mypy more strictly, except for tests - Added missing mypy user annotation - Added missing py.typed Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
- Replace patch file with more robust `tomcli` patch - Simplify bcond statement Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
7791673
to
334d468
Compare
PEP702 introduced
warnings.deprecated
with back-ports totyping-extensions
. This decorator works for both type-checking and runtime. It can even work with@overload
but that may require aspglib.pyi
to keep it clean.