chore: build config
All checks were successful
build / build (push) Successful in 58s

This commit is contained in:
张泊明518370910136 2024-10-19 18:23:14 -04:00
parent e19657c5b0
commit 3756380888
GPG Key ID: D47306D7062CDA9D

View File

@ -1,3 +1,7 @@
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project] [project]
name = "JOJ3-config-generator" name = "JOJ3-config-generator"
version = "0.1.0" version = "0.1.0"
@ -23,7 +27,7 @@ exclude_dirs = ["tests"]
skips = ["B101"] skips = ["B101"]
[tool.pdm] [tool.pdm]
distribution = false distribution = true
[tool.pdm.dev-dependencies] [tool.pdm.dev-dependencies]
lint = ["black>=24.10.0", "mypy>=1.12.0", "types-PyYAML>=6.0.12.20240917"] lint = ["black>=24.10.0", "mypy>=1.12.0", "types-PyYAML>=6.0.12.20240917"]
@ -36,6 +40,10 @@ test = "pytest"
all = { composite = ["lint", "test"] } all = { composite = ["lint", "test"] }
app.call = "joj3_config_generator.main:app" app.call = "joj3_config_generator.main:app"
[tool.pdm.build]
includes = ["joj3_config_generator"]
excludes = ["tests"]
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]