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