pre-commit autoupdate and fix new issues pointed out by ruff

This commit is contained in:
boxydog 2024-11-03 13:28:44 -06:00
commit 075542721c
4 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
@ -16,14 +16,14 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# ruff version should match the one in pyproject.toml
rev: v0.4.10
rev: v0.7.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/rtts/djhtml
rev: '3.0.6'
rev: '3.0.7'
hooks:
- id: djhtml
- id: djcss