From d317e51c50299946ba89b7eb51672d2ad3b76e29 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 10 Dec 2022 01:40:21 +0100 Subject: [PATCH] Update python & django used in pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2485749..09415fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,12 +24,12 @@ repos: rev: v3.3.0 hooks: - id: pyupgrade - args: [--py310-plus] + args: [--py311-plus] - repo: https://github.com/adamchainz/django-upgrade rev: 1.12.0 hooks: - id: django-upgrade - args: [--target-version, "4.0"] + args: [--target-version, "4.1"] - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: @@ -39,7 +39,7 @@ repos: rev: 22.10.0 hooks: - id: black - args: [--target-version, py310] + args: [--target-version, py311] - repo: https://github.com/rtts/djhtml rev: v1.5.2 hooks: