diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22110a83..84d93cb1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: hooks: - id: pyupgrade args: ["--py38-plus"] - - repo: https://github.com/asottile/reorder_python_imports + - repo: https://github.com/asottile/reorder-python-imports rev: v3.9.0 hooks: - id: reorder-python-imports diff --git a/pyproject.toml b/pyproject.toml index 1fae1bcb..c0c7133f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,8 +54,8 @@ version = {attr = "flask.__version__"} testpaths = ["tests"] filterwarnings = [ "error", - # change in Python 3.12 alpha causes warning from inside pytest - "ignore:onerror argument:DeprecationWarning", + # change in Python 3.12 causes warning from inside pytest + "ignore:ast:DeprecationWarning", ] [tool.coverage.run]