diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2db9c5d..ed6625f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,11 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.4"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.27.0" + rev: "v2.28.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.2" + rev: "v0.16.3" hooks: - id: ruff-format - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 32a22ec..f30967d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -181,16 +181,16 @@ rules.unresolved-attribute = "ignore" ini_options.markers = [ "graalpy" ] [tool.coverage] +run.source = [ + "python_discovery", + "tests", +] run.branch = true run.dynamic_context = "test_function" run.parallel = true run.plugins = [ "covdefaults", ] -run.source = [ - "python_discovery", - "tests", -] paths.source = [ "src", ".tox*/*/lib/python*/site-packages",