flask-pydantic
flask-pydantic copied to clipboard
Improve typing
Fixes #65
Typing:
- make it pass mypy tests (i.e., improve type hinting) – both main module and tests
- add mypy test to CI
- add
py.typedto setup so that other packages recognize it's typed - make it possible to use TypeVars for model hinting
General
- enable async view function decoration (via ensure_sync() as noted on https://flask.palletsprojects.com/en/latest/async-await/#extensions)
- set isort profile to
black
CI:
- update GitHub actions to newest revisions
- Run linters in a separate matrix (black, flak8, mypy)
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Hi @bauerji, is there any chance to merge this PR?
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Hi @bauerji, any news regarding this PR? I've made the changes you requested some time ago. Let me know what can I do to move this PR forward.
If you give me a green light for the recent changes, I'll rebase this PR on the main branch.