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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: detect-private-key

- repo: https://github.com/crate-ci/typos
rev: v1
rev: typos-dict-v0.14.2
hooks:
- id: typos
# empty to do not write fixes
Expand Down Expand Up @@ -67,7 +67,7 @@ repos:
args: ["--print-width=79"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
rev: v0.16.10
hooks:
# use black formatting
- id: ruff-format
Expand All @@ -79,17 +79,17 @@ repos:

# it needs to be after formatting hooks because the lines might be changed
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v2.1.0
rev: v2.4.0
hooks:
- id: mypy
files: "src/.*"

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.25.1
rev: v2.30.1
hooks:
- id: pyproject-fmt
additional_dependencies: [tox]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
rev: "0.26"
hooks:
- id: validate-pyproject
13 changes: 7 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Other/Nonlisted Topic",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down Expand Up @@ -199,19 +200,19 @@ ini_options.markers = [
]

[tool.coverage]
run.omit = [
"**/scripts/**",
"src/cachier/__init__.py",
"src/cachier/_version.py",
"tests/*",
]
# Parallel test execution configuration
# Use: pytest -n auto (for automatic worker detection)
# Or: pytest -n 4 (for specific number of workers)
# Memory tests are safe to run in parallel by default
# Pickle tests require isolation (handled by conftest.py fixture)
# --- coverage ---
run.branch = true
run.omit = [
"**/scripts/**",
"src/cachier/__init__.py",
"src/cachier/_version.py",
"tests/*",
]
run.parallel = true
# Regexes for lines to exclude from consideration
report.exclude_lines = [
Expand Down
Loading