diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd93758a..fc914933 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 4c948114..5c79794f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -199,6 +200,12 @@ 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) @@ -206,12 +213,6 @@ ini_options.markers = [ # 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 = [