nickjj / flask-static-digest

Flask extension to help make your static files production ready by md5 tagging and gzipping them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement Suggestion: Add Type Hints Support

BroFromSpace opened this issue · comments

I suggest adding type hints to the project. Incorporating type hints would be beneficial as the project grows and gains popularity.

If you decide to move forward with this enhancement, I would be happy to help with the implementation.

Hi, thanks. Currently I don't use type hints in any projects. Given you typically reference this project as a library in your application code, what benefits would you gain? Is it mainly having better auto-complete if you need to debug an error in this library for editors that support it?

Hi, thanks. Currently I don't use type hints in any projects. Given you typically reference this project as a library in your application code, what benefits would you gain? Is it mainly having better auto-complete if you need to debug an error in this library for editors that support it?

Yes, the primary purpose of type hints is to enhance auto-complete support, especially when you encounter errors or issues. Additionally, type hints can benefit other contributors who may want to join the project or developers who fork it, as they provide clearer documentation and help maintain consistency.