From 8f2b821be5ee11c4092d39e9833b41230c1055a9 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 7 Oct 2026 16:04:06 -0400 Subject: [PATCH] py314+ Committed via https://github.com/asottile/all-repos --- .pre-commit-config.yaml | 4 ++-- make_templates.py | 2 -- template_lib.py | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) 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