-
-
Notifications
You must be signed in to change notification settings - Fork 946
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
feat(typing): add type hints to compiled router #1944
Conversation
this is mainly to try how cython works with pep484 types
7c14345
to
8e4adf1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1944 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 63 63
Lines 6847 6847
Branches 1258 1258
=========================================
Hits 6847 6847 ☔ View full report in Codecov by Sentry. |
This should be good to revisit again once #1947 gets merged. |
@CaselIT Now we can continue with this one; we just need to address merge conflicts and it may possible to move this forward off Draft. |
I'll try getting into it soonish |
# Conflicts: # falcon/routing/compiled.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and it seems it passes Mypy and all the tests now 💯
This is mainly to try how cython works with pep484 types
NOTE: this is currently unmergiable, since it's not py 3.5 compatible
Gist with the compilations with cython https://gist.github.com/CaselIT/f0493d74422cce46c95c10e8abd1e4f0