From 1858d08d64b0f995a63dc7c2f72635e4bf1dee62 Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Mon, 13 Jun 2022 12:19:06 +0200 Subject: [PATCH] Fix and update pre-commit hooks flake8 is no longer in the pre-commit repo, and now has its own repository --- .pre-commit-config.yaml | 5 ++++- RELEASE.md | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 RELEASE.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 579d3c45..36b821ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com/hooks.html for info on hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.5.0 + rev: v4.3.0 hooks: - id: check-added-large-files - id: check-ast @@ -11,6 +11,9 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: trailing-whitespace + - repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 + hooks: - id: flake8 name: Flake8 on commit diff description: This hook limits Flake8 checks to changed lines of code. diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..94c43dec --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: patch + +Fix and update pre-commit hooks