Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down Expand Up @@ -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
Expand Down
44 changes: 22 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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/',
Expand All @@ -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"
Expand Down