style: use PEP604 typing syntax#187
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #187 +/- ##
==========================================
- Coverage 98.30% 98.30% -0.01%
==========================================
Files 24 24
Lines 1947 1942 -5
==========================================
- Hits 1914 1909 -5
Misses 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
See [PEP604] which was adopted/preferred as of Python 3.10. [PEP604]: https://peps.python.org/pep-0604/
WalkthroughThis PR modernizes type annotations project-wide, replacing typing module aliases (List, Dict, Optional, Union, Tuple) with Python 3.9+ built-in generics (list, dict, tuple) and PEP 604 union syntax (X | None), updating signatures, attributes, and test annotations accordingly. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
does not bump any deps though; just removes old locks related to python 3.9
See PEP604 which was adopted/preferred as of Python 3.10.
Summary by CodeRabbit