From ac72e711ae6c2946b6a68a3af31f1805647bcdc3 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Tue, 30 May 2023 15:02:57 +0300 Subject: [PATCH] Add `ruff` linter configuration --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4a64ebeb5..d382ae38c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,3 +16,13 @@ src = [ "src", ] revision = "origin/master..." + +[tool.ruff] +select = ["ALL"] +ignore = [ + "A002", # builtin-argument-shadowing + "ANN101", # missing-type-self + "D203", # one-blank-line-before-class + "D213", # multi-line-summary-second-line +] +target-version = ["py38"]