Skip to content

Commit

Permalink
Remove hatch strict naming
Browse files Browse the repository at this point in the history
  • Loading branch information
staticdev committed Apr 23, 2023
1 parent 4bd5207 commit 0097885
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@ dev = [
[tool.hatch.version]
path = "src/github3/__about__.py"

[tool.hatch.build.targets.sdist]
strict-naming = false

[tool.hatch.build.targets.wheel]
packages = [
"src/github3",
]

strict-naming = false

[project.urls]
Documentation = "https://github3.readthedocs.io"
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ commands = flake8 {posargs} src/github3/ tests/unit/ tests/integration/

[testenv:build]
skip_install = true
basepython = python3.10
basepython = python3.11
deps =
build
hatch
commands =
python -m build
hatch build

[testenv:black]
pip_pre = true
Expand Down Expand Up @@ -94,11 +94,11 @@ deps =
-rdocs/source/requirements.txt
sphinx_rtd_theme
twine >= 3.4.2
build
hatch
.
commands =
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
python -m build
hatch build
twine check --strict dist/*

[pytest]
Expand Down

0 comments on commit 0097885

Please sign in to comment.