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"]
|
||||
|
||||
[tool.hatch.envs.tests]
|
||||
default-args = ["dump_things_service"]
|
||||
extra-dependencies = [
|
||||
"dump_things_service",
|
||||
"freezegun",
|
||||
"httpx",
|
||||
"pytest",
|
||||
|
|
@ -114,7 +112,7 @@ extra-dependencies = [
|
|||
]
|
||||
|
||||
[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]
|
||||
extend-exclude = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue