tylerjrichards / st-paywall

A python package for creating subscription Streamlit apps
MIT License
266 stars 52 forks source link

Add ruff and mypy pre-commit #24

Closed blackary closed 1 year ago

blackary commented 1 year ago

Happy to make any tweaks you would like (e.g. be less aggressive about line length), but I think these are a nice starting place, and it did uncover some potential bugs (e.g. if you pass payment_provider = "blah" it will now correctly raise a valueerror)