diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1817ebef..39105874 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: - id: trailing-whitespace - id: check-toml - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.7.0 hooks: - id: black # It is recommended to specify the latest version of Python @@ -20,7 +20,8 @@ repos: hooks: - id: isort name: isort (python) - - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.0.278 hooks: - - id: flake8 + - id: ruff