forked from Github-Mirrors/canaille
updated pre-commit
This commit is contained in:
parent
a3d0d2f115
commit
b1f21180df
3 changed files with 6 additions and 6 deletions
|
@ -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"]
|
||||
|
|
|
@ -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 %}<i class="{{ icon }} icon"></i>{% endif %}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<td><a href="{{ url_for('oidc.clients.edit', client_id=authorization.client_id) }}">{{ authorization.client_id }}</a></td>
|
||||
<td>{{ authorization.subject }}</td>
|
||||
<td data-order="{{ authorization.issue_date|timestamp }}>{{ authorization.issue_date }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Reference in a new issue