diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 763b550..ab578e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: hooks: - id: black - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.3.0" + rev: "1.3.1" hooks: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "0.11.2" + rev: "0.12.0" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.6"] diff --git a/pyproject.toml b/pyproject.toml index d31ee71..863895c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,13 +66,6 @@ version.source = "vcs" [tool.black] line-length = 120 -[tool.coverage] -html.show_contexts = true -html.skip_covered = false -paths.source = ["src", ".tox/*/lib/python*/site-packages", "*/src"] -run.parallel = true -run.plugins = ["covdefaults"] - [tool.ruff] select = ["ALL"] line-length = 120 @@ -94,3 +87,10 @@ ignore = [ "S603", # `subprocess` call: check for execution of untrusted input "PLR2004", # Magic value used in comparison, consider replacing with a constant variable ] + +[tool.coverage] +html.show_contexts = true +html.skip_covered = false +paths.source = ["src", ".tox/*/lib/python*/site-packages", "*/src"] +run.parallel = true +run.plugins = ["covdefaults"]