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

MAINT: postpone annotation evaluations #251

Merged
merged 18 commits into from
Mar 3, 2024
Merged

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Mar 3, 2024

Since #250, it is possible to use from __future__ import annotations (PEP 563), which simplifies type hint syntax and should make the code a bit faster. Only the conservation_rules module cannot yet postpone type annotation evaluation, because it uses type hints in determining which rules are allowed.

@redeboer redeboer added the ⚙️ Enhancement Improvements and optimizations of existing features label Mar 3, 2024
@redeboer redeboer self-assigned this Mar 3, 2024
@redeboer redeboer merged commit a6663c7 into ComPWA:main Mar 3, 2024
21 checks passed
@redeboer redeboer deleted the PEP563 branch March 3, 2024 14:34
@redeboer redeboer added this to the 0.10.2 milestone Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Enhancement Improvements and optimizations of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant