From bdaa55a678cf1479ef77ae5be63c8113ae6cfa84 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 4 Dec 2023 13:53:57 +0100 Subject: [PATCH] fixup! feat: configure ruff in pyproject.toml --- pyproject.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e34dfc2..2cdca7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,8 +33,23 @@ reportlab = "^3.6.8" [tool.ruff] select = ["ALL"] ignore = [ + # Disable type annotations for now, it would lead to too many warnings + "ANN", + # Leave doc comments for later, + # as lots of functions needs to be renamed as private + "D", + # Also leave pathlib for later + "PTH", + # one-blank-line-before-class "D203", # multi-line-summary-second-line "D213", + + # For the formatter: + + # missing-trailing-comma + "COM812", + # single-line-implicit-string-concatenation + "ISC001", ]