Skip to content
Open
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:

repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.3.9020
rev: v0.4.3.9021
hooks:
- id: parsable-R
- id: no-browser-statement
Expand Down Expand Up @@ -50,14 +50,14 @@ repos:
- id: tox-ini-fmt

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.16.1
rev: v2.20.0
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.12.1"]

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.15.1
rev: v0.15.7
hooks:
# Run the formatter.
- id: ruff-format
Expand Down
26 changes: 13 additions & 13 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -190,19 +190,6 @@ expand_tables = [ "project.urls", "project.optional-dependencies" ]
# List of tables to force collapse regardless of table_format or expand_tables settings
collapse_tables = [ "project.authors" ]

[tool.pytest.ini_options]
faulthandler_timeout = 10
doctest_optionflags = "NUMBER"
addopts = [ "--import-mode=importlib", "--durations=5", "--durations-min=1.0" ]

[tool.coverage.report]
exclude_also = [
".*(?:#|//)\\s+nocov",
".* ASSUME\\s?\\(.+\\);",
".* unreachable\\s?\\(\\);",
".*(?:GCOVR?|LCOV)_EXCL_LINE",
]

[tool.mypy]
python_version = "3.11"
# Strictness (recommended for library code)
Expand All @@ -221,6 +208,19 @@ warn_unused_configs = true
ignore_missing_imports = true
files = [ "src/" ]

[tool.pytest.ini_options]
faulthandler_timeout = 10
doctest_optionflags = "NUMBER"
addopts = [ "--import-mode=importlib", "--durations=5", "--durations-min=1.0" ]

[tool.coverage.report]
exclude_also = [
".*(?:#|//)\\s+nocov",
".* ASSUME\\s?\\(.+\\);",
".* unreachable\\s?\\(\\);",
".*(?:GCOVR?|LCOV)_EXCL_LINE",
]

[tool.gcovr]
exclude-lines-by-pattern = [
".*(?:#|//)\\s+nocov",
Expand Down
Loading