Repository navigation
Conversation
Merging this PR will not alter performance1 note
Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2565 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 80 82 +2
Lines 2485 2697 +212
Branches 437 45 -392
==========================================
+ Hits 2485 2697 +212 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Mypy's
Fair. But Pyrefly isn't used for type-checking here, so maybe this loophole could convince you 😇 ? Also, I wouldn't call it "support"; it's only used in CI, and doensn't involve anything public-facing or anything. |
|
I would prefer to fully type the whole project and keep it mypy-only :) |
Eh I'm not sure what you mean; there won't be much left of this PR without the Pyrefly part :P |
|
Oh 😅 I've merged the second one! 👍 |
I have made things!
Since #2563,
returnshas 100% type coverage ( 🎉 ). This adds amake type-coveragecommand and runs it in CI to ensure that it stays this way. It runspyrefly coverage check --public-only, which will fail if there's public API functions, classes, or module attributes, ("typables") that aren't typed.FWIW; we also use
pyrefly coveragein NumPy (here), and it has been smooth sailing so far.Checklist
CHANGELOG.mdRelated issues
🙏 Please, if you or your company finds
dry-pythonvaluable, help us sustain the project by sponsoring it transparently on https://github.com/sponsors/dry-python. As a thank you, your profile/company logo will be added to our main README which receives hundreds of unique visitors per day.