From b1f21180dfe0b432667a5087316f10376e6178c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 4 Apr 2022 17:51:33 +0200 Subject: [PATCH] updated pre-commit --- .pre-commit-config.yaml | 8 ++++---- canaille/templates/fomanticui.html | 2 +- canaille/templates/oidc/admin/authorization_list.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7d88db1..3b1560d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,21 +7,21 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/asottile/reorder_python_imports - rev: v2.6.0 + rev: v3.0.1 hooks: - id: reorder-python-imports args: ["--application-directories", "canaille"] - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.31.1 hooks: - id: pyupgrade args: ["--py37-plus"] - repo: https://github.com/psf/black - rev: 21.12b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/rtts/djhtml - rev: v1.4.11 + rev: v1.5.0 hooks: - id: djhtml args: ["--in-place"] diff --git a/canaille/templates/fomanticui.html b/canaille/templates/fomanticui.html index 3e702479..34b47624 100644 --- a/canaille/templates/fomanticui.html +++ b/canaille/templates/fomanticui.html @@ -37,7 +37,7 @@ display=true {% if labeled %}labeled{% endif %} {% if icon %}left icon {% endif %} {% if field.type not in ("BooleanField", "RadioField") %}input{% endif %} - "> + "> {% endif %} {% if icon %}{% endif %} diff --git a/canaille/templates/oidc/admin/authorization_list.html b/canaille/templates/oidc/admin/authorization_list.html index d2758e8b..b807a518 100644 --- a/canaille/templates/oidc/admin/authorization_list.html +++ b/canaille/templates/oidc/admin/authorization_list.html @@ -26,7 +26,7 @@ {{ authorization.client_id }} {{ authorization.subject }}