Fix Ruff warnings

This commit is contained in:
2024-07-26 02:28:05 +02:00
parent ccfa8eb13b
commit b9833c461f
5 changed files with 248 additions and 254 deletions

View File

@ -4,7 +4,7 @@ repos:
# Apply a consistent format to pyproject.toml files.
# https://pyproject-fmt.readthedocs.io/en/latest/
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.3"
rev: "2.1.4"
hooks:
- id: pyproject-fmt
@ -42,7 +42,7 @@ repos:
# An extremely fast Python linter and formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.5.5
hooks:
- id: ruff-format
- id: ruff