Skip to content

Commit 82d0012

Browse files
committed
Add pyproject-fmt dev dep and apply formatting
1 parent 69cf05a commit 82d0012

2 files changed

Lines changed: 79 additions & 34 deletions

File tree

pyproject.toml

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,47 @@
11
[build-system]
2-
requires = ["setuptools>=68"]
32
build-backend = "setuptools.build_meta"
3+
requires = [ "setuptools>=68" ]
44

55
[project]
66
name = "hellbox-ttfautohint"
7-
dynamic = ["version"]
87
description = "ttfautohint job for hellbox."
98
readme = "README.md"
10-
license = {text = "MIT"}
11-
authors = [{name = "Jack Jennings", email = "jack@standard-library.com"}]
9+
license = { text = "MIT" }
10+
authors = [ { name = "Jack Jennings", email = "jack@standard-library.com" } ]
1211
requires-python = ">=3.11"
13-
dependencies = ["hellbox", "ttfautohint-py"]
1412
classifiers = [
15-
"Development Status :: 3 - Alpha",
16-
"Environment :: Plugins",
17-
"License :: OSI Approved :: MIT License",
18-
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.11",
21-
"Programming Language :: Python :: 3.12",
22-
"Programming Language :: Python :: 3.13",
23-
"Programming Language :: Python :: 3.14",
24-
"Programming Language :: Python :: Implementation :: CPython",
25-
"Topic :: Software Development :: Build Tools",
13+
"Development Status :: 3 - Alpha",
14+
"Environment :: Plugins",
15+
"License :: OSI Approved :: MIT License",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3 :: Only",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
22+
"Programming Language :: Python :: Implementation :: CPython",
23+
"Topic :: Software Development :: Build Tools",
2624
]
27-
28-
[project.urls]
29-
Homepage = "https://github.com/hellboxpy/hellbox-ttfautohint"
25+
dynamic = [ "version" ]
26+
dependencies = [ "hellbox", "ttfautohint-py" ]
27+
urls.Homepage = "https://github.com/hellboxpy/hellbox-ttfautohint"
3028

3129
[dependency-groups]
3230
dev = [
33-
"mdformat",
34-
"pytest",
35-
"ruff>=0,<1",
36-
"ty>=0.0.34",
31+
"mdformat",
32+
"pyproject-fmt>=2.21.2",
33+
"pytest",
34+
"ruff>=0,<1",
35+
"ty>=0.0.34",
3736
]
3837

38+
[tool.setuptools]
39+
packages.find.where = [ "src" ]
40+
packages.find.namespaces = true
41+
packages.find.exclude = [ "hellbox", "hellbox.jobs" ]
3942

40-
[[tool.ty.overrides]]
41-
include = ["tests/**"]
42-
43-
[tool.ty.overrides.rules]
44-
unresolved-import = "ignore"
45-
[tool.uv.sources]
46-
hellbox = { git = "https://github.com/hellboxpy/hellbox.git" }
43+
[tool.uv]
44+
sources.hellbox = { git = "https://github.com/hellboxpy/hellbox.git" }
4745

48-
[tool.setuptools.packages.find]
49-
where = ["src"]
50-
namespaces = true
51-
exclude = ["hellbox", "hellbox.jobs"]
46+
[tool.ty]
47+
overrides = [ { include = [ "tests/**" ], rules.unresolved-import = "ignore" } ]

uv.lock

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)