diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc6591df..c99d9132 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,13 +34,13 @@ repos: # Python formatting - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black # Ruff linter, replacement for flake8, pydocstyle, isort -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.272' +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: 'v0.0.280' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -62,7 +62,7 @@ repos: # Python type checking - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.3.0' + rev: 'v1.4.1' hooks: - id: mypy additional_dependencies: [numpy] diff --git a/tests/test_repr.py b/tests/test_repr.py index 63ef5fcc..200a6123 100644 --- a/tests/test_repr.py +++ b/tests/test_repr.py @@ -1,6 +1,6 @@ -# flake8: noqa E501 +# flake8: noqa: E501 from iminuit import Minuit -from iminuit.util import Params, Param, Matrix, FMin, MError +from iminuit.util import Param, Matrix, FMin, MError from iminuit import _repr_html, _repr_text import pytest from argparse import Namespace