fix hatch build
Some checks failed
ci/woodpecker/push/tests Pipeline failed

This commit is contained in:
Ivan Schaller 2022-07-18 23:45:19 +02:00
parent 87a30b17c8
commit 76eb9a54b6
2 changed files with 5 additions and 14 deletions

View file

@ -3,6 +3,8 @@ requests>=2.24.0
img2pdf>=0.4.4 img2pdf>=0.4.4
# dev and testing requirements # dev and testing requirements
hatch>=1.2.1
hatchling>=1.4.1
pytest>=7.0.0 pytest>=7.0.0
coverage>=6.3.1 coverage>=6.3.1
black>=22.1.0 black>=22.1.0
@ -10,5 +12,4 @@ isort>=5.10.0
pylint>=2.13.0 pylint>=2.13.0
mypy>=0.940 mypy>=0.940
tox>=3.24.5 tox>=3.24.5
hatch>=1.0.0
autoflake>=1.4 autoflake>=1.4

View file

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling>=1.4.1"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[project] [project]
@ -43,20 +43,10 @@ manga-dlp = "mangadlp.input:main"
ignore-vcs = true ignore-vcs = true
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]
include = ["mangadlp"] packages = ["mangadlp"]
exclude = [
"docker",
".tox",
".mypy_cache"
]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
include = ["mangadlp"] packages = ["mangadlp"]
exclude = [
"docker",
".tox",
".mypy_cache"
]
[tool.isort] [tool.isort]
py_version = 39 py_version = 39