mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix and update pre-commit hooks
flake8 is no longer in the pre-commit repo, and now has its own repository
This commit is contained in:
parent
e8d6318e93
commit
1858d08d64
2 changed files with 7 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
3
RELEASE.md
Normal file
3
RELEASE.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Release type: patch
|
||||
|
||||
Fix and update pre-commit hooks
|
||||
Loading…
Add table
Add a link
Reference in a new issue