Skip to content

Commit 64b31a5

Browse files
authored
Merge pull request #44 from pre-commit/all-repos_autofix_all-repos-manual
py39+
2 parents a527db3 + 99f668b commit 64b31a5

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ on:
77

88
jobs:
99
main:
10-
uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0
10+
uses: asottile/workflows/.github/workflows/tox.yml@v1.7.0
1111
with:
12-
env: '["py38", "py39", "py310", "py311", "py312", "py313", "pypy3"]'
12+
env: '["py39", "py310", "py311", "py312", "py313", "py314", "pypy3"]'
1313
main-win:
14-
uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0
14+
uses: asottile/workflows/.github/workflows/tox.yml@v1.7.0
1515
with:
16-
env: '["py38"]'
16+
env: '["py39"]'
1717
os: windows-latest
18-
arch: '["x64", "x86"]'

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ repos:
1313
rev: v2.5.0
1414
hooks:
1515
- id: setup-cfg-fmt
16-
args: ['--min-py-version', '3.8']
1716
- repo: https://github.com/asottile/reorder-python-imports
1817
rev: v3.13.0
1918
hooks:
2019
- id: reorder-python-imports
21-
args: [--py38-plus, --add-import, 'from __future__ import annotations']
20+
args: [--py39-plus, --add-import, 'from __future__ import annotations']
2221
- repo: https://github.com/asottile/add-trailing-comma
2322
rev: v3.1.0
2423
hooks:
@@ -27,7 +26,7 @@ repos:
2726
rev: v3.17.0
2827
hooks:
2928
- id: pyupgrade
30-
args: [--py38-plus]
29+
args: [--py39-plus]
3130
- repo: https://github.com/hhatto/autopep8
3231
rev: v2.3.1
3332
hooks:

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers =
2020
py_modules = sync_pre_commit_deps
2121
install_requires =
2222
ruamel.yaml>=0.17
23-
python_requires = >=3.8
23+
python_requires = >=3.9
2424

2525
[options.entry_points]
2626
console_scripts =

0 commit comments

Comments
 (0)