Skip to content

Commit

Permalink
pre-commit pyproject ftm
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Dec 19, 2022
1 parent c113dd6 commit df78c51
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ repos:
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "0.4.1"
hooks:
- id: pyproject-fmt

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
Expand Down
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
"hatchling",
]

[project]
name = "iniconfig"
dynamic = ["version"]
description = "brain-dead simple config-ini parsing"
readme = "README.rst"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "Ronny Pfannschmidt", email = "[email protected]" },
{ name = "Holger Krekel", email = "[email protected]" },
]
requires-python = ">=3.7"
dynamic = [
"version",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand All @@ -30,10 +35,10 @@ classifiers = [
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]

[project.urls]
Homepage = "https://github.com/pytest-dev/iniconfig"


[tool.hatch.version]
source = "vcs"

Expand Down Expand Up @@ -62,4 +67,4 @@ strict = true


[tool.pytest.ini_options]
testpaths = "testing"
testpaths = "testing"

0 comments on commit df78c51

Please sign in to comment.