diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bfc716fa..31e2cf28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: rev: v3.17.0 hooks: - id: reorder-python-imports - args: [--py310-plus, --add-import, 'from __future__ import annotations'] + args: [--py314-plus] - id: reorder-python-imports - repo: https://github.com/asottile/add-trailing-comma rev: v4.0.0 @@ -23,7 +23,7 @@ repos: rev: v3.21.2 hooks: - id: pyupgrade - args: [--py310-plus] + args: [--py314-plus] - repo: https://github.com/hhatto/autopep8 rev: v2.3.2 hooks: diff --git a/make_templates.py b/make_templates.py index aca62aed..48574796 100644 --- a/make_templates.py +++ b/make_templates.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import os.path import mako.lookup diff --git a/template_lib.py b/template_lib.py index 0ec6a585..ec52d6db 100644 --- a/template_lib.py +++ b/template_lib.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import html import os import re