forked from orbit-oss/flask
Merge branch '2.3.x'
This commit is contained in:
commit
7d399e80c3
3 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ ci:
|
||||||
autoupdate_schedule: monthly
|
autoupdate_schedule: monthly
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.7.0
|
rev: v3.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: ["--py38-plus"]
|
args: ["--py38-plus"]
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@ responses, you could also pass them through directly.
|
||||||
Error handlers still respect the exception class hierarchy. If you
|
Error handlers still respect the exception class hierarchy. If you
|
||||||
register handlers for both ``HTTPException`` and ``Exception``, the
|
register handlers for both ``HTTPException`` and ``Exception``, the
|
||||||
``Exception`` handler will not handle ``HTTPException`` subclasses
|
``Exception`` handler will not handle ``HTTPException`` subclasses
|
||||||
because it the ``HTTPException`` handler is more specific.
|
because the ``HTTPException`` handler is more specific.
|
||||||
|
|
||||||
|
|
||||||
Unhandled Exceptions
|
Unhandled Exceptions
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ The ``pyproject.toml`` file describes your project and how to build it.
|
||||||
[project]
|
[project]
|
||||||
name = "flaskr"
|
name = "flaskr"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
|
description = "The basic blog app built in the Flask tutorial."
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flask",
|
"flask",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue