diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c98756..1f4aca7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -9,16 +9,16 @@ repos: - id: trailing-whitespace - repo: https://github.com/kynan/nbstripout - rev: 0.8.1 + rev: 0.9.1 hooks: - id: nbstripout - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.5 + rev: v0.15.9 hooks: # Run the linter. - - id: ruff + - id: ruff-check types_or: [ python, pyi, jupyter ] args: [ --fix ] # Run the formatter. diff --git a/pyproject.toml b/pyproject.toml index 2d570e0..03f506f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,6 @@ fix = true line-length = 88 target-version = "py39" extend-include = ["*.ipynb"] -required-version = ">=0.11,<0.15" [tool.ruff.lint] select = [