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 1427151..f873a60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,27 +62,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", - ".tox*/pypy*/site-packages", - ".tox*\\*\\Lib\\site-packages", - "*/src", - "*\\src", -] -report.fail_under = 98 -report.omit = [] -run.parallel = true -run.plugins = ["covdefaults"] - -[tool.mypy] -python_version = "3.11" -show_error_codes = true -strict = true - [tool.ruff] select = ["ALL"] line-length = 120 @@ -104,3 +83,24 @@ 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", + ".tox*/pypy*/site-packages", + ".tox*\\*\\Lib\\site-packages", + "*/src", + "*\\src", +] +report.fail_under = 98 +report.omit = [] +run.parallel = true +run.plugins = ["covdefaults"] + +[tool.mypy] +python_version = "3.11" +show_error_codes = true +strict = true