Update pre-commit tools to more compatible versions

This commit is contained in:
Aarni Koskela 2023-09-25 15:06:02 +03:00
parent b3d58db15d
commit 81160b089c
1 changed files with 10 additions and 8 deletions

View File

@ -1,17 +1,19 @@
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v2.3.0
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: 'https://github.com/psf/black'
rev: 22.3.0
# TODO: enable these later; there are plenty of violating
# files that need to be fixed first
# - id: end-of-file-fixer
# - id: trailing-whitespace
- repo: "https://github.com/psf/black"
rev: 23.12.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/isort
rev: 5.8.0
rev: 5.13.1
hooks:
- id: isort
name: isort (python)
@ -24,4 +26,4 @@ repos:
- repo: https://github.com/pycqa/pylint
rev: v2.8.2
hooks:
- id: pylint
- id: pylint