diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8f3f413..8a8dd727 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell - rev: v2.4.2 + rev: v2.4.3 hooks: - id: codespell additional_dependencies: @@ -30,7 +30,7 @@ repos: exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 + rev: v0.16.10 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] @@ -49,7 +49,7 @@ repos: files: tests/.* - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.1 + rev: v2.30.1 hooks: - id: pyproject-fmt args: [--keep-full-version, --no-print-diff] diff --git a/pyproject.toml b/pyproject.toml index 2cc7d10d..fb056749 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,10 +26,12 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Visualization", ] -dependencies = [ # uv pip compile pyproject.toml --resolution=lowest-direct --group dev +dependencies = [ + # uv pip compile pyproject.toml --resolution=lowest-direct --group dev "matplotlib>=3.10.0", "numpy>=1.23.2", "pandas>=2.1.0", @@ -152,12 +154,14 @@ checks = [ "SA01", # or a see also section "SS06", # and don't require the summary to fit on one line ] -exclude = [ # don't report on checks for these +exclude = [ + # don't report on checks for these "\\.__init__$", "\\.__iter__$", "\\.__repr__$", "\\.__str__$", ] -override_SS05 = [ # allow docstrings to start with these words +override_SS05 = [ + # allow docstrings to start with these words "^Unambiguous ", ]