Skip to content

Commit 96eab46

Browse files
authored
Merge pull request #1108 from pre-commit/all-repos_autofix_py314-plus
py314+
2 parents 78b89d7 + 8f2b821 commit 96eab46

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
rev: v3.17.0
1414
hooks:
1515
- id: reorder-python-imports
16-
args: [--py310-plus, --add-import, 'from __future__ import annotations']
16+
args: [--py314-plus]
1717
- id: reorder-python-imports
1818
- repo: https://github.com/asottile/add-trailing-comma
1919
rev: v4.0.0
@@ -23,7 +23,7 @@ repos:
2323
rev: v3.21.2
2424
hooks:
2525
- id: pyupgrade
26-
args: [--py310-plus]
26+
args: [--py314-plus]
2727
- repo: https://github.com/hhatto/autopep8
2828
rev: v2.3.2
2929
hooks:

‎make_templates.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import os.path
42

53
import mako.lookup

‎template_lib.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import html
42
import os
53
import re

0 commit comments

Comments
 (0)