Updated pre-commit

This commit is contained in:
Éloi Rivard 2022-06-30 11:18:37 +02:00
parent b0926f2216
commit bd053c1d38
4 changed files with 7 additions and 9 deletions

View file

@ -1,27 +1,27 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 rev: v4.3.0
hooks: hooks:
- id: check-byte-order-marker - id: check-byte-order-marker
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- repo: https://github.com/asottile/reorder_python_imports - repo: https://github.com/asottile/reorder_python_imports
rev: v3.0.1 rev: v3.1.0
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
args: ["--application-directories", "canaille"] args: ["--application-directories", "canaille"]
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.31.1 rev: v2.34.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--py37-plus"] args: ["--py37-plus"]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.6.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/rtts/djhtml - repo: https://github.com/rtts/djhtml
rev: v1.5.0 rev: v1.5.1
hooks: hooks:
- id: djhtml - id: djhtml
args: ["--in-place"] args: ["--in-place"]

View file

@ -26,8 +26,8 @@
<td><a href="{{ url_for('oidc.clients.edit', client_id=authorization.client_id) }}">{{ authorization.client_id }}</a></td> <td><a href="{{ url_for('oidc.clients.edit', client_id=authorization.client_id) }}">{{ authorization.client_id }}</a></td>
<td>{{ authorization.subject }}</td> <td>{{ authorization.subject }}</td>
<td data-order="{{ authorization.issue_date|timestamp }}>{{ authorization.issue_date }}</td> <td data-order="{{ authorization.issue_date|timestamp }}>{{ authorization.issue_date }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
{% endblock %} {% endblock %}

View file

@ -1528,4 +1528,3 @@ msgstr "Courriels"
#~ msgid "Could not reset your password" #~ msgid "Could not reset your password"
#~ msgstr "Impossible de réinitialiser votre mot de passe" #~ msgstr "Impossible de réinitialiser votre mot de passe"

View file

@ -1221,4 +1221,3 @@ msgstr ""
#: canaille/themes/default/base.html:83 #: canaille/themes/default/base.html:83
msgid "Emails" msgid "Emails"
msgstr "" msgstr ""