Skip to content

Commit 0097885

Browse files
committed
Remove hatch strict naming
1 parent 4bd5207 commit 0097885

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@ dev = [
5252
[tool.hatch.version]
5353
path = "src/github3/__about__.py"
5454

55+
[tool.hatch.build.targets.sdist]
56+
strict-naming = false
57+
5558
[tool.hatch.build.targets.wheel]
5659
packages = [
5760
"src/github3",
5861
]
59-
62+
strict-naming = false
6063

6164
[project.urls]
6265
Documentation = "https://github3.readthedocs.io"

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ commands = flake8 {posargs} src/github3/ tests/unit/ tests/integration/
1919

2020
[testenv:build]
2121
skip_install = true
22-
basepython = python3.10
22+
basepython = python3.11
2323
deps =
24-
build
24+
hatch
2525
commands =
26-
python -m build
26+
hatch build
2727

2828
[testenv:black]
2929
pip_pre = true
@@ -94,11 +94,11 @@ deps =
9494
-rdocs/source/requirements.txt
9595
sphinx_rtd_theme
9696
twine >= 3.4.2
97-
build
97+
hatch
9898
.
9999
commands =
100100
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
101-
python -m build
101+
hatch build
102102
twine check --strict dist/*
103103

104104
[pytest]

0 commit comments

Comments
 (0)