From 50c1af6c5cfea71c44e19cb4d98e0230d846570c Mon Sep 17 00:00:00 2001 From: Adrien Delhorme Date: Wed, 8 Feb 2023 11:39:34 +0100 Subject: [PATCH] Fix pre-commit flake8 repo url And autoupdate module to their latest versions, unless flake8 (5.0.4) because flake8-broken-line is not compatible with flake8 6.0.0 --- .pre-commit-config.yaml | 14 +++++++------- changes/715.bugfix | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 changes/715.bugfix diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30dc5aac..c3a9e9cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ exclude: "(.idea|node_modules|.tox)" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -17,15 +17,15 @@ repos: args: - --remove - repo: https://github.com/timothycrosley/isort - rev: "5.6.4" + rev: "5.12.0" hooks: - id: isort - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 23.1.0 hooks: - id: black - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + - repo: https://github.com/PyCQA/flake8 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: @@ -40,14 +40,14 @@ repos: - flake8-tidy-imports - pep8-naming - repo: https://github.com/econchick/interrogate - rev: 1.3.1 + rev: 1.5.0 hooks: - id: interrogate args: - "-cpyproject.toml" - "--quiet" - repo: https://github.com/asottile/pyupgrade - rev: v2.7.3 + rev: v3.3.1 hooks: - id: pyupgrade args: diff --git a/changes/715.bugfix b/changes/715.bugfix new file mode 100644 index 00000000..eab9f2a9 --- /dev/null +++ b/changes/715.bugfix @@ -0,0 +1 @@ +Fix pre-commit flake8 repo url