Follow PEP 484 and add type hints to all functions in the code-base. These type-hints are currently compatible with both mypy and pyright.
Now that the code-base is compatible with these, you should consider also integrating them into the automated CI/CD github workflows. (If you don't know how to, let me know if you want them added)
Note: I've renamed ormore attribute for Amount class to a more pythonic or_more name and I've also changed the parameter names for Range class from a and z to start and stop
Follow PEP 484 and add type hints to all functions in the code-base. These type-hints are currently compatible with both
mypy
andpyright
.Now that the code-base is compatible with these, you should consider also integrating them into the automated CI/CD github workflows. (If you don't know how to, let me know if you want them added)
Note: I've renamed
ormore
attribute forAmount
class to a more pythonicor_more
name and I've also changed the parameter names forRange
class froma
andz
tostart
andstop