From 8378860a698ada8d844b1cd4b6603c997048e5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 23 Feb 2024 12:47:45 +0100 Subject: [PATCH] ci: update ruff configuration --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fb283c0a..c7735ba0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,6 +77,10 @@ Twitter = "https://twitter.com/WeblateOrg" profile = "black" [tool.ruff] +output-format = "github" +target-version = "py38" + +[tool.ruff.lint] ignore = [ "D10", # TODO: we are missing many docstrings "D203", # CONFIG: incompatible with D211 @@ -88,7 +92,6 @@ ignore = [ "PLR2004", # TODO: Magic value used in comparison, consider replacing 201 with a constant variable "N818" # TODO: exception naming ] -output-format = "github" select = [ "E", "F", @@ -123,7 +126,6 @@ select = [ "SLF", "N" ] -target-version = "py38" [tool.ruff.mccabe] max-complexity = 16