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 56ad510
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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
6 changes: 3 additions & 3 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
commands =
python -m build
python -mbuild -s

[testenv:black]
pip_pre = true
Expand Down Expand Up @@ -98,7 +98,7 @@ deps =
.
commands =
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
python -m build
python -mbuild -s
twine check --strict dist/*

[pytest]
Expand Down

0 comments on commit 56ad510

Please sign in to comment.