2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-01 11:51:36 +01:00

ruff config

This commit is contained in:
2024-12-15 18:48:28 +00:00
parent 5475a0b853
commit eb74940ca8
4 changed files with 71 additions and 37 deletions

View File

@@ -1,3 +1,11 @@
# Do not edit pyproject.toml, it is overwritten.
# Instead, edit dev.toml and/or server.toml
[tool.ruff]
# https://docs.astral.sh/ruff/configuration/
# we do not use black or isort, we use ruff instead
line-length=120
lint.ignore = ["E402", "F541"]
[project]
name = "troggle-server"
@@ -11,4 +19,7 @@ dependencies = [
"piexif==1.1.3",
"pillow==9.4.0",
"unidecode==1.3.6",
"black>=24.10.0",
"coverage>=7.6.9",
]
]