-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update __init__.py #654
base: main
Are you sure you want to change the base?
Update __init__.py #654
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #654 +/- ##
==========================================
- Coverage 99.88% 99.21% -0.68%
==========================================
Files 14 14
Lines 881 890 +9
Branches 192 195 +3
==========================================
+ Hits 880 883 +3
- Misses 0 3 +3
- Partials 1 4 +3 ☔ View full report in Codecov by Sentry. |
I get your point. This is not strictly needed. See for instance in this app how we register blueprints after initializing Regarding importing as string, I don't mind either. Since the work is done in werkzeug, it is not too much API surface added. Don't bother adding type hints. There is no CI check for them yet. However, anyone is welcome to add type hints to the code base in another PR. I'd move the part that does the registration to a dedicated |
You mean it would make sense to add it once the whole code base is covered? |
Le Tue, 16 Jul 2024 14:48:02 -0700,
pat-jpnk ***@***.***> a écrit :
> Don't bother adding type hints. There is no CI check for them yet.
> However, anyone is welcome to add type hints to the code base in
> another PR.
You mean it would make sense to add it once the whole code base is
covered?
I mean don't bother adding type hints to a function in a PR until a PR
adds a significant amount of type hints and a call to mypy in CI.
…--
Jérôme
|
The original
After the update, there are no issues with the above two writing methods, and the following new usage methods will continue to be added