Improve the tests Hatch env specification #187
1 changed files with 1 additions and 3 deletions
|
|
@ -103,9 +103,7 @@ run = "python -m dump_things_service.main {args}"
|
||||||
python = ["3.11", "3.12"]
|
python = ["3.11", "3.12"]
|
||||||
|
|
||||||
[tool.hatch.envs.tests]
|
[tool.hatch.envs.tests]
|
||||||
default-args = ["dump_things_service"]
|
|
||||||
extra-dependencies = [
|
extra-dependencies = [
|
||||||
"dump_things_service",
|
|
||||||
"freezegun",
|
"freezegun",
|
||||||
"httpx",
|
"httpx",
|
||||||
"pytest",
|
"pytest",
|
||||||
|
|
@ -114,7 +112,7 @@ extra-dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.hatch.envs.tests.scripts]
|
[tool.hatch.envs.tests.scripts]
|
||||||
run = 'python -m pytest {args}'
|
run = 'python -m pytest {args:dump_things_service/tests dump_things_service/backends/tests}'
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
extend-exclude = [
|
extend-exclude = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue