From 847d4e9b4e5639c1229adcf4f5d6a9bfaa2dc8cc Mon Sep 17 00:00:00 2001 From: Ivan Yordanov Date: Wed, 27 Sep 2023 12:48:32 +0300 Subject: [PATCH] ci(ruff): Ignore COM812 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9855498b9..ddb5e8c72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,7 @@ ignore = [ "B010", # Do not call setattr with a constant attribute value. -- Not always applicable "RUF012", # type class attrs with `ClassVar` -- Too strict/trigger-happy "UP007", # Use X | Y for type annotations -- `typer` doesn't support it + "COM812", # Checks for the absence of trailing commas -- leads to undesirable behavior from formatters "PIE804", # Unnecessary `dict` kwargs -- Inconvenient to enforce "RET505", # Unnecessary {branch} after return statement -- Lots of false positives "RET506", # Unnecessary {branch} after raise statement -- Lots of false positives