Merge branch '2.2.x'

This commit is contained in:
David Lord 2023-02-07 07:18:54 -08:00
commit 4ddb3f73ba
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
3 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@ repos:
files: "^(?!examples/)"
args: ["--application-directories", "src"]
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8

View File

@ -91,7 +91,7 @@ To run such an application, you can use the :command:`flask` command:
.. code-block:: text
$ flask run --app hello run
$ flask --app hello run
Flask will automatically detect the factory if it is named
``create_app`` or ``make_app`` in ``hello``. You can also pass arguments
@ -99,7 +99,7 @@ to the factory like this:
.. code-block:: text
$ flask run --app hello:create_app(local_auth=True)``
$ flask --app hello:create_app(local_auth=True) run``
Then the ``create_app`` factory in ``myapp`` is called with the keyword
argument ``local_auth=True``. See :doc:`/cli` for more detail.

View File

@ -227,7 +227,6 @@ def test_session_error_pops_context():
def test_session_dynamic_cookie_name():
# This session interface will use a cookie with a different name if the
# requested url ends with the string "dynamic_cookie"
class PathAwareSessionInterface(SecureCookieSessionInterface):