diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72da62c..ad56192 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,11 +20,11 @@ repos: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.11.1" + rev: "v2.15.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.14" + rev: "v0.15.0" hooks: - id: ruff-format - id: ruff diff --git a/pyproject.toml b/pyproject.toml index c8e2711..9c187d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,20 +94,16 @@ count = true max_supported_python = "3.13" [tool.coverage] -run.source = [ - "pytest_env", - "tests", -] -run.dynamic_context = "test_function" run.branch = true +run.dynamic_context = "test_function" run.parallel = true run.plugins = [ "covdefaults", ] -report.fail_under = 100 -report.show_missing = true -html.show_contexts = true -html.skip_covered = false +run.source = [ + "pytest_env", + "tests", +] paths.source = [ "src", ".tox*/*/lib/python*/site-packages", @@ -116,6 +112,10 @@ paths.source = [ "*/src", "*\\src", ] +report.fail_under = 100 +report.show_missing = true +html.show_contexts = true +html.skip_covered = false [tool.mypy] python_version = "3.11"