-
-
Notifications
You must be signed in to change notification settings - Fork 314
Type hints across main flask-wtf codebase #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
e0c27a1 to
449af6d
Compare
|
54eb413 to
51ae407
Compare
073b6c7 to
784e402
Compare
|
You need to set up pre-commit, or pull the fixes that pre-commit adds, instead of force pushing. |
|
After adding mypy and pyright, I'm seeing more type errors, primarily due to type compatibility issues with the main |
|
@davidism Any ideas you can suggest? |
|
Don't adjust the type checking settings. MyPy strict must pass. Pyright standard should pass, but can be lowered to basic if absolutely necessary. Pyright |
Type hints across the main flask-wtf codebase to enhance type safety and maintainability. This is the part 1, if acceptable, I will add the rest that includes type hints in recaptcha codebase.
Checklist:
testsX | Ysyntaxpyproject.tomladding mypy and pyright cfgs