Skip to content

Commit 2c3069a

Browse files
authored
Fix hatch version finding (#4)
* Fix hatch version finding * update author metadata * fix black config
1 parent c65fbe3 commit 2c3069a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "yaqd-proxr"
7-
authors = ["Blaise Thompson, Unni Kurumbail"]
7+
authors = [{name="Blaise Thompson"}, {name="Unni Kurumbail"}]
88
description = "Yaq daemons for ProXR relay controllers."
99
readme = "README.md"
1010
requires-python = ">=3.7"
@@ -37,10 +37,12 @@ dev = ["black", "pre-commit"]
3737
[project.scripts]
3838
yaqd-proxr-serial = "yaqd_proxr._proxr_serial:ProxrSerial.main"
3939

40+
[tool.hatch.version]
41+
path = "yaqd_proxr/__version__.py"
4042

4143
[tool.black]
4244
line-length = 99
43-
target-version = ['py37', 'py38', 'py39', 'py10', 'py11']
45+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
4446
include = '\.pyi?$'
4547
exclude = '''
4648
/(

0 commit comments

Comments
 (0)