Skip to content

Commit

Permalink
tests: fix coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
hartungstenio committed Jan 24, 2025
1 parent b686a92 commit 3fd4bc7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ dependencies = [

[tool.hatch.envs.default.scripts]
cov = [
"cov-report",
"test-cov",
"cov-report",
]
cov-report = [
"- coverage combine",
"coverage combine",
"coverage report",
]
test = "pytest {args:tests}"
Expand Down Expand Up @@ -131,18 +131,18 @@ dependencies = [
]

[tool.hatch.envs.hatch-static-analysis.scripts]
format-check="ruff format{env:HATCH_FMT_ARGS:} --check --diff {args:.}"
format-fix="ruff format{env:HATCH_FMT_ARGS:} {args:.}"
lint-check=[
"SKIP=no-commit-to-branch,ruff,ruff-format pre-commit run --all-files --verbose",
format-check = "ruff format{env:HATCH_FMT_ARGS:} --check --diff {args:.}"
format-fix = "ruff format{env:HATCH_FMT_ARGS:} {args:.}"
lint-check = [
"ruff check{env:HATCH_FMT_ARGS:} {args:.}",
"deptry .",
"SKIP=no-commit-to-branch,ruff,ruff-format pre-commit run --all-files --verbose",
"mypy --install-types --non-interactive {args:src/django_healthy tests}",
]
lint-fix=[
"SKIP=no-commit-to-branch,ruff,ruff-format pre-commit run --all-files --verbose",
lint-fix = [
"ruff check{env:HATCH_FMT_ARGS:} --fix {args:.}",
"deptry .",
"SKIP=no-commit-to-branch,ruff,ruff-format pre-commit run --all-files --verbose",
"mypy --install-types --non-interactive {args:src/django_healthy tests}",
]

Expand Down
4 changes: 2 additions & 2 deletions taplo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ include = ["**/pyproject.toml"]
keys = ["project"]

[rule.formatting]
reorder_keys = false
reorder_arrays = false
reorder_keys = false

[[rule]]
include = ["**/pyproject.toml"]
Expand All @@ -29,7 +29,7 @@ reorder_keys = false

[[rule]]
include = ["**/pyproject.toml"]
keys = ["tool.hatch.envs.tests.matrix"]
keys = ["tool.hatch.envs.*.scripts", "tool.hatch.envs.*.matrix"]

[rule.formatting]
reorder_arrays = false

0 comments on commit 3fd4bc7

Please sign in to comment.