From eb74940ca81a6e900dec2b7c8df00245c6bb9a71 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 15 Dec 2024 18:48:28 +0000 Subject: ruff config --- server.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'server.toml') diff --git a/server.toml b/server.toml index aa5aed8..661079c 100644 --- a/server.toml +++ b/server.toml @@ -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", +] ] -- cgit v1.2.3