Marco Ricci commited on 2024-06-08 19:06:56
Zeige 1 geänderte Dateien mit 12 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -57,6 +57,18 @@ xfail_strict = true |
| 57 | 57 |
[tool.hatch.version] |
| 58 | 58 |
path = "src/derivepassphrase/__about__.py" |
| 59 | 59 |
|
| 60 |
+[tool.hatch.envs.hatch-test] |
|
| 61 |
+default-args = ['src', 'tests'] |
|
| 62 |
+ |
|
| 63 |
+[[tool.hatch.envs.hatch-test.matrix]] |
|
| 64 |
+python = ["3.11", "3.12"] |
|
| 65 |
+ |
|
| 66 |
+[tool.hatch.envs.hatch-test.scripts] |
|
| 67 |
+run = "pytest{env:HATCH_TEST_ARGS:} {args}"
|
|
| 68 |
+run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
|
|
| 69 |
+cov-combine = "coverage combine" |
|
| 70 |
+cov-report = "coverage report && coverage html" |
|
| 71 |
+ |
|
| 60 | 72 |
[tool.hatch.env] |
| 61 | 73 |
requires = [ |
| 62 | 74 |
"hatch-mkdocs", |
| 63 | 75 |