Skip to content

Commit e06c519

Browse files
authored
Merge pull request #1144 from sigmavirus24/bugfix/remove-hatch-strict-naming
Remove hatch strict naming
2 parents 4bd5207 + 56ad510 commit e06c519

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pyproject.toml

+4-1
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

+3-3
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 =
2424
build
2525
commands =
26-
python -m build
26+
python -mbuild -s
2727

2828
[testenv:black]
2929
pip_pre = true
@@ -98,7 +98,7 @@ deps =
9898
.
9999
commands =
100100
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
101-
python -m build
101+
python -mbuild -s
102102
twine check --strict dist/*
103103

104104
[pytest]

0 commit comments

Comments
 (0)