Skip to content

Commit df78c51

Browse files
pre-commit pyproject ftm
1 parent c113dd6 commit df78c51

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ repos:
44
hooks:
55
- id: pyupgrade
66
args: [--py37-plus]
7-
- repo: https://github.com/asottile/setup-cfg-fmt
8-
rev: v2.2.0
9-
hooks:
10-
- id: setup-cfg-fmt
11-
args: [--include-version-classifiers]
7+
- repo: https://github.com/tox-dev/pyproject-fmt
8+
rev: "0.4.1"
9+
hooks:
10+
- id: pyproject-fmt
11+
1212
- repo: https://github.com/psf/black
1313
rev: 22.12.0
1414
hooks:

pyproject.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-vcs"]
32
build-backend = "hatchling.build"
3+
requires = [
4+
"hatch-vcs",
5+
"hatchling",
6+
]
47

58
[project]
69
name = "iniconfig"
7-
dynamic = ["version"]
810
description = "brain-dead simple config-ini parsing"
911
readme = "README.rst"
1012
license = "MIT"
11-
requires-python = ">=3.7"
1213
authors = [
1314
{ name = "Ronny Pfannschmidt", email = "opensource@ronnypfannschmidt.de" },
1415
{ name = "Holger Krekel", email = "holger.krekel@gmail.com" },
1516
]
17+
requires-python = ">=3.7"
18+
dynamic = [
19+
"version",
20+
]
1621
classifiers = [
1722
"Development Status :: 4 - Beta",
1823
"Intended Audience :: Developers",
@@ -30,10 +35,10 @@ classifiers = [
3035
"Topic :: Software Development :: Libraries",
3136
"Topic :: Utilities",
3237
]
33-
3438
[project.urls]
3539
Homepage = "https://github.com/pytest-dev/iniconfig"
3640

41+
3742
[tool.hatch.version]
3843
source = "vcs"
3944

@@ -62,4 +67,4 @@ strict = true
6267

6368

6469
[tool.pytest.ini_options]
65-
testpaths = "testing"
70+
testpaths = "testing"

0 commit comments

Comments
 (0)