summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Mosich <anton@mosich.at>2022-08-04 15:01:17 +0200
committerGitHub <noreply@github.com>2022-08-04 15:01:17 +0200
commit23f3804c9646f2409ed9a0095f838067f4ee0e98 (patch)
tree4137d428d46344802780765ab38052d94541eb0a
parent1bcd6c5f56f1e43377ab452c9a33b06a7424b0e8 (diff)
downloadpelican-23f3804c9646f2409ed9a0095f838067f4ee0e98.tar.gz
Fix and update pre-commit hooks (#3011)
Co-authored-by: Justin Mayer <entroP@gmail.com>
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 579d3c45..c0e34a00 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: 3.9.2
+ hooks:
- id: flake8
name: Flake8 on commit diff
description: This hook limits Flake8 checks to changed lines of code.