fix codespell findings
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 5880bef · Browse files · 4 files·+4 added−5 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+4 added−5 removed
- other:+4 added−5 removed
Provenance
- Commit
9b74a90- Tree
d6fb979- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
5880bef
4 files changed+4 added−5 removed
modified:docs/appcontext.rst+1 added-1 removed
117 unmodified lines118 The context will have the same lifetime as an activity, such as a request, CLI119 command, or ``with`` block. Various callbacks and signals registered with the120 app will be run during the context.121 122-When a Flask application handles a request, it pushes a requet context122+When a Flask application handles a request, it pushes a request context123 to set the active application and request data. When it handles a CLI command,124 it pushes an app context to set the active application. When the activity ends,125 it pops that context. Proxy objects like :data:`.request`, :data:`.session`,126 :data:`.g`, and :data:`.current_app`, are accessible while the context is pushed60 unmodified linesmodified:docs/quickstart.rst+1 added-1 removed
460 unmodified lines461 462 If you have some experience with Python you might be wondering how that object463 can be global when Flask handles multiple requests at a time. The answer is464 that :data:`.request` is actually a proxy, pointing at whatever request is465-currently being handled by a given worker, which is managed interanlly by Flask465+currently being handled by a given worker, which is managed internally by Flask466 and Python. See :doc:`/appcontext` for much more information.467 468 The current request method is available in the :attr:`~.Request.method`469 attribute. To access form data (data transmitted in a ``POST`` or ``PUT``389 unmodified linesmodified:docs/templating.rst+1 added-1 removed
181 unmodified lines182 :meth:`~.Flask.template_global` decorator or :meth:`~.Flask.add_template_global`183 method.184 185 The same methods also exist on :class:`.Blueprint`, prefixed with ``app_`` to186-indicate that the registered functions will be avaialble to all templates, not186+indicate that the registered functions will be available to all templates, not187 only when rendering from within the blueprint.188 189 The Jinja environment is also available as :attr:`~.Flask.jinja_env`. It may be190 modified directly, as you would when using Jinja outside Flask.65 unmodified linesmodified:.pre-commit-config.yaml+1 added-2 removed
10 unmodified lines11121314151615161718194 unmodified lines10 unmodified lines - repo: https://github.com/codespell-project/codespell rev: 63c8f8312b7559622c0d82815639671ae42132ac # frozen v2.4.1 hooks: - id: codespell additional_dependencies: - tomli args: ['--write-changes'] - repo: https://github.com/pre-commit/pre-commit-hooks rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: check-merge-conflict4 unmodified lines