Skip to content

Commit

Permalink
ci: enable extra args for tests:run
Browse files Browse the repository at this point in the history
This allows for (more) quickly checking a subset of tests in a matrix
run.

```
hatch run tests:run datalad_core/xxx/tests
```
  • Loading branch information
mih committed Sep 21, 2024
1 parent e1fc079 commit 4ba0ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ template = "hatch-test"
python = ["3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.tests.scripts]
run = 'python -m pytest'
run = 'python -m pytest {args}'

[tool.hatch.envs.types]
description = "type checking with MyPy"
Expand Down

0 comments on commit 4ba0ecf

Please sign in to comment.