diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f30869e..241e109 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: fix-encoding-pragma @@ -18,19 +18,19 @@ repos: args: ['--maxkb=500'] - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.9.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black==23.1.0] exclude: README.md - repo: https://github.com/pycqa/isort - rev: 6.0.0 + rev: 7.0.0 hooks: - id: isort name: isort (python) @@ -38,7 +38,7 @@ repos: - --profile=black - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.0 hooks: - id: pyupgrade args: [--py38-plus] @@ -71,6 +71,6 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.14.1' # Use the sha / tag you want to point at + rev: 'v1.18.2' # Use the sha / tag you want to point at hooks: - id: mypy diff --git a/tests/test_ols.py b/tests/test_ols.py index 54a5b7e..7df8911 100644 --- a/tests/test_ols.py +++ b/tests/test_ols.py @@ -1,4 +1,4 @@ -"""Sanity checks: literally just copied from sklearn tests... """ +"""Sanity checks: literally just copied from sklearn tests...""" import numpy as np import numpy.testing as npt