Skip to content

Commit 697e2ea

Browse files
pawamoyjohnslavik
authored andcommitted
casing and order in pyproject.toml
1 parent 7be9780 commit 697e2ea

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

packages/griffecli/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
requires = ["hatchling", "pdm-backend", "uv-dynamic-versioning>=0.7.0"]
55
build-backend = "hatchling.build"
66

7-
[tool.hatch.version]
8-
source = "code"
9-
path = "../../scripts/get_version.py"
10-
expression = "get_version()"
11-
127
[project]
138
name = "griffecli"
14-
description = "The griffe CLI"
9+
description = "The Griffe CLI"
1510
authors = [{name = "Timothée Mazzucotelli", email = "dev@pawamoy.fr"}]
1611
license = "ISC"
1712
license-files = ["LICENSE"]
@@ -44,6 +39,11 @@ classifiers = [
4439
[project.scripts]
4540
griffecli = "griffecli:main"
4641

42+
[tool.hatch.version]
43+
source = "code"
44+
path = "../../scripts/get_version.py"
45+
expression = "get_version()"
46+
4747
[tool.hatch.metadata.hooks.uv-dynamic-versioning]
4848
# Dependencies are dynamically versioned; {{version}} is substituted at build time.
4949
dependencies = ["griffelib=={{version}}", "colorama>=0.4"]

packages/griffelib/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
requires = ["hatchling", "pdm-backend", "uv-dynamic-versioning>=0.7.0"]
55
build-backend = "hatchling.build"
66

7-
[tool.hatch.version]
8-
source = "code"
9-
path = "../../scripts/get_version.py"
10-
expression = "get_version()"
11-
127
[project]
138
name = "griffelib"
14-
description = "The griffe library"
9+
description = "The Griffe library"
1510
authors = [{name = "Timothée Mazzucotelli", email = "dev@pawamoy.fr"}]
1611
license = "ISC"
1712
license-files = ["LICENSE"]
@@ -41,6 +36,11 @@ classifiers = [
4136
"Typing :: Typed",
4237
]
4338

39+
[tool.hatch.version]
40+
source = "code"
41+
path = "../../scripts/get_version.py"
42+
expression = "get_version()"
43+
4444
[tool.hatch.metadata.hooks.uv-dynamic-versioning]
4545
# No base dependencies needed for griffelib
4646

0 commit comments

Comments
 (0)