Skip to content

Commit 9b83b6d

Browse files
authored
Merge pull request #277 from pre-commit/all-repos_autofix_py311-plus
py311+
2 parents 7977473 + 3904480 commit 9b83b6d

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ on:
88

99
jobs:
1010
main:
11-
uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1
11+
uses: asottile/workflows/.github/workflows/tox.yml@v1.11.1
1212
with:
13-
env: '["py310", "py311"]'
13+
env: '["py311", "py312"]'

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
rev: v3.17.0
1818
hooks:
1919
- id: reorder-python-imports
20-
args: [--py310-plus, --add-import, 'from __future__ import annotations']
20+
args: [--py311-plus, --add-import, 'from __future__ import annotations']
2121
- repo: https://github.com/asottile/add-trailing-comma
2222
rev: v4.0.0
2323
hooks:
@@ -26,7 +26,7 @@ repos:
2626
rev: v3.21.2
2727
hooks:
2828
- id: pyupgrade
29-
args: [--py310-plus]
29+
args: [--py311-plus]
3030
- repo: https://github.com/hhatto/autopep8
3131
rev: v2.3.2
3232
hooks:

‎requirements-dev.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
covdefaults
22
coverage
3-
pre-commit
43
pytest
54
pytest-env
5+
pyyaml
6+
setuptools

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers =
2020
packages = find:
2121
install_requires =
2222
packaging
23-
python_requires = >=3.10
23+
python_requires = >=3.11
2424

2525
[options.packages.find]
2626
exclude =

0 commit comments

Comments
 (0)