From 8a015f1cef3d39fa73c9d8bc04dde98d98e5ace8 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 16 Dec 2022 22:12:43 +0100 Subject: [PATCH] Update pre-commit --- .../.pre-commit-config.yaml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index c34eb46..6ab3070 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-ast - id: check-json @@ -21,31 +21,31 @@ repos: args: - --markdown-linebreak-ext=md - repo: https://github.com/asottile/pyupgrade - rev: v3.1.0 + rev: v3.3.1 hooks: - id: pyupgrade - args: [--py310-plus] + args: [--py311-plus] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.11.0 + rev: 1.12.0 hooks: - id: django-upgrade - args: [--target-version, "4.0"] - - repo: https://github.com/timothycrosley/isort - rev: 5.10.1 + args: [--target-version, "4.1"] + - repo: https://github.com/PyCQA/isort + rev: v5.11.3 hooks: - id: isort args: [--profile, black] - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 22.12.0 hooks: - id: black - args: [--target-version, py310] + args: [--target-version, py311] - repo: https://github.com/rtts/djhtml rev: v1.5.2 hooks: - id: djhtml - repo: https://github.com/flakeheaven/flakeheaven - rev: 3.2.0 + rev: 3.2.1 hooks: - id: flakeheaven additional_dependencies: @@ -64,14 +64,14 @@ repos: - id: prettier types_or: [javascript, css] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.26.0 + rev: v8.29.0 hooks: - id: eslint args: [--fix] types_or: [javascript, css] additional_dependencies: - - eslint@^7.29.0 - - eslint-config-prettier@^8.3.0 + - eslint@8.29.0 + - eslint-config-prettier@8.5.0 - repo: https://github.com/jazzband/pip-tools rev: 6.11.0 hooks: