Update pre-commit dependencies

This commit is contained in:
Joakim Hellsén 2024-03-26 02:42:18 +01:00
commit b5b240fb99
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
2 changed files with 5 additions and 3 deletions

View file

@ -47,14 +47,14 @@ repos:
# Run Pyupgrade on all Python files. This will upgrade the code to Python 3.12. # Run Pyupgrade on all Python files. This will upgrade the code to Python 3.12.
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.15.1 rev: v3.15.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--py312-plus"] args: ["--py312-plus"]
# An extremely fast Python linter and formatter. # An extremely fast Python linter and formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2 rev: v0.3.4
hooks: hooks:
- id: ruff-format - id: ruff-format
- id: ruff - id: ruff

View file

@ -26,7 +26,9 @@ djlint = "^1.34.1"
[build-system] [build-system]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"] requires = [
"poetry-core",
]
[tool.ruff] [tool.ruff]
exclude = ["migrations"] exclude = ["migrations"]