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.
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 theconservation_rules
module cannot yet postpone type annotation evaluation, because it uses type hints in determining which rules are allowed.