diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa2a7db..84d969a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,12 +15,12 @@ # limitations under the License. exclude: ".git|.tox|CHANGELOG.md|VERSION" -default_stages: [commit] +default_stages: [pre-commit] fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -29,19 +29,19 @@ repos: - id: check-merge-conflict - id: requirements-txt-fixer - - repo: https://github.com/pre-commit/mirrors-isort - rev: v5.8.0 + - repo: https://github.com/PyCQA/isort + rev: 5.13.2 hooks: - id: isort args: ["--profile", "black"] - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black language_version: python3.8 - repo: https://github.com/PyCQA/flake8 - rev: 3.9.2 + rev: 7.1.1 hooks: - id: flake8