Skip to content
Myr

pre-commit: Add codespell (#5844)

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

authored by David Lord · committed by GitHub · parents 30da640, 3709c4a · Browse files · 4 files+13 added−4 removed
This commit

State

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

Diff stats

4 files+13 added−4 removed

  • other:+13 added−4 removed

4 files+13 added−4 removed

modified:src/flask/app.py+2 added-2 removed
273 unmodified lines
274 self.add_url_rule(275 f"{self.static_url_path}/<path:filename>",276 endpoint="static",277 host=static_host,278 view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950278 view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore279 )280281 def get_send_file_max_age(self, filename: str | None) -> int | None:282 """Used by :func:`send_file` to determine the ``max_age`` cache
1228 unmodified lines
1511 response = self.full_dispatch_request()1512 except Exception as e:1513 error = e1514 response = self.handle_exception(e)1515 except: # noqa: B0011515 except:1516 error = sys.exc_info()[1]1517 raise1518 return response(environ, start_response)1519 finally:
17 unmodified lines
modified:src/flask/sessions.py+1 added-1 removed
105 unmodified lines
106 "key was set. Set the secret_key on the "107 "application to something unique and secret."108 )109110 __setitem__ = __delitem__ = clear = pop = popitem = update = setdefault = _fail # noqa: B950110 __setitem__ = __delitem__ = clear = pop = popitem = update = setdefault = _fail111 del _fail112113114class SessionInterface:
285 unmodified lines
modified:.pre-commit-config.yaml+7 added-1 removed
modified:pyproject.toml+3 added
164 unmodified lines
165[tool.ruff.lint.isort]166force-single-line = true167order-by-type = false168169[tool.codespell]170ignore-words-list = "te"171172[tool.tox]173env_list = [174 "py3.14", "py3.14t",175 "py3.13", "py3.12", "py3.11", "py3.10", "py3.9",
104 unmodified lines