Update pre-commit

This commit is contained in:
Gabriel Augendre 2022-12-16 22:12:43 +01:00
parent 31fa3d44c5
commit 8a015f1cef

View file

@ -4,7 +4,7 @@ ci:
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-json - id: check-json
@ -21,31 +21,31 @@ repos:
args: args:
- --markdown-linebreak-ext=md - --markdown-linebreak-ext=md
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.1.0 rev: v3.3.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py310-plus] args: [--py311-plus]
- repo: https://github.com/adamchainz/django-upgrade - repo: https://github.com/adamchainz/django-upgrade
rev: 1.11.0 rev: 1.12.0
hooks: hooks:
- id: django-upgrade - id: django-upgrade
args: [--target-version, "4.0"] args: [--target-version, "4.1"]
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/PyCQA/isort
rev: 5.10.1 rev: v5.11.3
hooks: hooks:
- id: isort - id: isort
args: [--profile, black] args: [--profile, black]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.10.0 rev: 22.12.0
hooks: hooks:
- id: black - id: black
args: [--target-version, py310] args: [--target-version, py311]
- repo: https://github.com/rtts/djhtml - repo: https://github.com/rtts/djhtml
rev: v1.5.2 rev: v1.5.2
hooks: hooks:
- id: djhtml - id: djhtml
- repo: https://github.com/flakeheaven/flakeheaven - repo: https://github.com/flakeheaven/flakeheaven
rev: 3.2.0 rev: 3.2.1
hooks: hooks:
- id: flakeheaven - id: flakeheaven
additional_dependencies: additional_dependencies:
@ -64,14 +64,14 @@ repos:
- id: prettier - id: prettier
types_or: [javascript, css] types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.26.0 rev: v8.29.0
hooks: hooks:
- id: eslint - id: eslint
args: [--fix] args: [--fix]
types_or: [javascript, css] types_or: [javascript, css]
additional_dependencies: additional_dependencies:
- eslint@^7.29.0 - eslint@8.29.0
- eslint-config-prettier@^8.3.0 - eslint-config-prettier@8.5.0
- repo: https://github.com/jazzband/pip-tools - repo: https://github.com/jazzband/pip-tools
rev: 6.11.0 rev: 6.11.0
hooks: hooks: