zeroSteiner / rule-engine

A lightweight, optionally typed expression language with a custom grammar for matching arbitrary Python objects.
https://zerosteiner.github.io/rule-engine/
BSD 3-Clause "New" or "Revised" License
429 stars 54 forks source link

Mypy support #43

Open djmattyg007 opened 1 year ago

djmattyg007 commented 1 year ago

This package could benefit from type annotations, so that it can be type-checked when used in other software.

zeroSteiner commented 2 weeks ago

I'm starting to think this would be a good idea, but I don't really want to implement it until I drop support for more EOL'ed Python versions so I can use the newer syntax features. In the next major version, I'll drop 3.6 and 3.7.