ComPWA / qrules

Rule-based particle reaction problem solver on a quantum number level
https://qrules.rtfd.io
Apache License 2.0
9 stars 4 forks source link

MAINT: postpone annotation evaluations #251

Closed redeboer closed 7 months ago

redeboer commented 7 months ago

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.