diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ba83762c34f..ef2d2d86b96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,24 +7,24 @@ repos: entry: ./tools/check_changes.py pass_filenames: false - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v3.3.0' + rev: 'v4.0.1' hooks: - id: check-merge-conflict - repo: https://github.com/asottile/yesqa - rev: v1.2.2 + rev: v1.2.3 hooks: - id: yesqa -- repo: https://github.com/pre-commit/mirrors-isort - rev: 'v5.6.4' +- repo: https://github.com/PyCQA/isort + rev: '5.9.3' hooks: - id: isort - repo: https://github.com/psf/black - rev: '20.8b1' + rev: '21.9b0' hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v3.3.0' + rev: 'v4.0.1' hooks: - id: end-of-file-fixer exclude: >- @@ -60,18 +60,18 @@ repos: - id: detect-private-key exclude: ^examples/ - repo: https://github.com/asottile/pyupgrade - rev: 'v2.7.4' + rev: 'v2.28.0' hooks: - id: pyupgrade args: ['--py36-plus'] -- repo: https://gitlab.com/pycqa/flake8 - rev: '3.8.4' +- repo: https://github.com/PyCQA/flake8 + rev: '3.9.2' hooks: - id: flake8 exclude: "^docs/" - repo: git://github.com/Lucas-C/pre-commit-hooks-markup - rev: v1.0.0 + rev: v1.0.1 hooks: - id: rst-linter files: >-