Format and lint with ruff (#1263)

This commit is contained in:
Sascha Ißbrücker
2026-01-04 12:13:48 +01:00
committed by GitHub
parent 4d82fefa4e
commit 3b26190df5
178 changed files with 601 additions and 739 deletions

View File

@@ -24,7 +24,6 @@ dependencies = [
[dependency-groups]
dev = [
"black>=25.12.0",
"coverage>=7.13.1",
"django-debug-toolbar>=6.1.0",
"djlint>=1.36.4",
@@ -33,6 +32,7 @@ dev = [
"pytest>=9.0.2",
"pytest-django>=4.11.1",
"pytest-xdist>=3.8.0",
"ruff>=0.14.10",
]
# For PostgreSQL support, use the binary release for development so that not
# everyone needs to build from source. For production, use a separate dependency
@@ -57,3 +57,21 @@ profile="django"
[tool.djlint.js]
indent_size=2
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
# ignore line length violations
ignore = ["E501"]