Skip to content
Myr

update pre-commit hooks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 6000e80 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:src/flask/ctx.py+1 added-1 removed
113 unmodified lines
114 return object.__repr__(self)115116117def after_this_request(118 f: ft.AfterRequestCallable[t.Any]118 f: ft.AfterRequestCallable[t.Any],119) -> ft.AfterRequestCallable[t.Any]:120 """Executes a function after this request. This is useful to modify121 response objects. The function is passed the response object and has122 to return the same or a new one.
327 unmodified lines
modified:src/flask/helpers.py+1 added-1 removed
46 unmodified lines
47 return val.lower() in ("0", "false", "no")484950def stream_with_context(51 generator_or_function: t.Iterator[t.AnyStr] | t.Callable[..., t.Iterator[t.AnyStr]]51 generator_or_function: t.Iterator[t.AnyStr] | t.Callable[..., t.Iterator[t.AnyStr]],52) -> t.Iterator[t.AnyStr]:53 """Request contexts disappear when the response is started on the server.54 This is done for efficiency reasons and to make it less likely to encounter55 memory leaks with badly written WSGI middlewares. The downside is that if
566 unmodified lines
modified:.pre-commit-config.yaml+1 added-1 removed