Skip to content
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

Merged
merged 8 commits into from
Jul 16, 2024

Conversation

CaselIT
Copy link
Member

@CaselIT CaselIT commented Aug 4, 2021

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

this is mainly to try how cython works with pep484 types
@CaselIT CaselIT force-pushed the type_compiled_wip branch from 7c14345 to 8e4adf1 Compare August 4, 2021 20:19
@codecov
Copy link

codecov bot commented Aug 4, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (09189a8) to head (325f2af).

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.
📢 Have feedback on the report? Share it here.

falcon/routing/compiled.py Outdated Show resolved Hide resolved
@vytas7
Copy link
Member

vytas7 commented Nov 6, 2022

This should be good to revisit again once #1947 gets merged.

@vytas7 vytas7 changed the title Try typing compiled. feat(typing): add type hints to compiled router Nov 6, 2022
@vytas7
Copy link
Member

vytas7 commented Jul 8, 2023

@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.

@CaselIT
Copy link
Member Author

CaselIT commented Jul 8, 2023

I'll try getting into it soonish

@CaselIT CaselIT marked this pull request as ready for review July 13, 2024 13:25
@CaselIT CaselIT requested a review from vytas7 July 14, 2024 09:46
Copy link
Member

@vytas7 vytas7 left a 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 💯

@vytas7 vytas7 merged commit cd70796 into falconry:master Jul 16, 2024
37 checks passed
@CaselIT CaselIT deleted the type_compiled_wip branch July 18, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants