Skip to content

Commit a59e918

Browse files
Add pyproject-fmt
1 parent 07b19a9 commit a59e918

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ repos:
6868
rev: 0.29.3
6969
hooks:
7070
- id: check-github-actions
71+
- repo: https://github.com/tox-dev/pyproject-fmt
72+
rev: 2.3.1
73+
hooks:
74+
- id: pyproject-fmt
75+
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
76+
additional_dependencies: [tox>=4.9]
7177
ci:
7278
skip:
7379
- actionlint-docker

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[build-system]
2+
build-backend = "setuptools.build_meta"
3+
24
requires = [
3-
"setuptools>=51.0",
5+
"setuptools>=51",
6+
"setuptools-scm[toml]>=6.2",
47
"wheel>=0.36",
5-
"setuptools_scm[toml]>=6.2"
68
]
7-
build-backend = "setuptools.build_meta"
89

910
[tool.setuptools_scm]
1011
write_to = "pytest_asyncio/_version.py"

0 commit comments

Comments
 (0)