diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f65179eb686..d53253810c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ minimum_pre_commit_version: "4.4.0" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.13" + rev: "v0.14.14" hooks: - id: ruff-check args: ["--fix"] @@ -68,7 +68,7 @@ repos: # Manual because passing pyright is a work in progress. stages: [manual] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.11.1" + rev: "v2.12.1" hooks: - id: pyproject-fmt # https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version diff --git a/pyproject.toml b/pyproject.toml index 5956eff9f68..d0aa0edef93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,13 +16,13 @@ keywords = [ license = "MIT" license-files = [ "LICENSE" ] authors = [ - { name = "Holger Krekel" }, - { name = "Bruno Oliveira" }, - { name = "Ronny Pfannschmidt" }, - { name = "Floris Bruynooghe" }, { name = "Brianna Laugher" }, + { name = "Bruno Oliveira" }, { name = "Florian Bruhin" }, + { name = "Floris Bruynooghe" }, + { name = "Holger Krekel" }, { name = "Others (See AUTHORS)" }, + { name = "Ronny Pfannschmidt" }, ] requires-python = ">=3.10" classifiers = [ @@ -432,24 +432,6 @@ markers = [ "keep_ci_var", ] -[tool.coverage.run] -include = [ - 'src/*', - 'testing/*', - '*/lib/python*/site-packages/_pytest/*', - '*/lib/python*/site-packages/pytest.py', - '*/pypy*/site-packages/_pytest/*', - '*/pypy*/site-packages/pytest.py', - '*\Lib\site-packages\_pytest\*', - '*\Lib\site-packages\pytest.py', -] -parallel = true -branch = true -patch = [ "subprocess" ] -# The sysmon core (default since Python 3.14) is much slower. -# Perhaps: https://github.com/coveragepy/coveragepy/issues/2082 -core = "ctrace" - [tool.coverage.paths] source = [ 'src/', @@ -474,6 +456,24 @@ exclude_lines = [ '^\s*@pytest\.mark\.xfail', ] +[tool.coverage.run] +include = [ + 'src/*', + 'testing/*', + '*/lib/python*/site-packages/_pytest/*', + '*/lib/python*/site-packages/pytest.py', + '*/pypy*/site-packages/_pytest/*', + '*/pypy*/site-packages/pytest.py', + '*\Lib\site-packages\_pytest\*', + '*\Lib\site-packages\pytest.py', +] +parallel = true +branch = true +patch = [ "subprocess" ] +# The sysmon core (default since Python 3.14) is much slower. +# Perhaps: https://github.com/coveragepy/coveragepy/issues/2082 +core = "ctrace" + [tool.towncrier] package = "pytest" package_dir = "src"