corydolphin / flask-cors

Cross Origin Resource Sharing ( CORS ) support for Flask
https://flask-cors.readthedocs.io/en/latest/index.html
MIT License
884 stars 139 forks source link

Type hint project #275

Open HitLuca opened 4 years ago

HitLuca commented 4 years ago

I use this project for all my apis, and I would see a benefit in having it fully type hinted for use with type checkers like mypy. Given that it's not a very big project it shouldn't take much work and it's something that doesn't bring downsides that I'm aware of

mdantonio commented 2 years ago

That would be very useful!

HitLuca commented 2 years ago

Since it's a year+ old issue, I can suggest using monkeytype to generate type hints, based on running the project's tests and generating type hints from them. If I have the time I will try to push a PR