From 9df40dd94da931d7efbe8a9a9ba99ef5d1e07fd0 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] Ignore builtin argument shadowing in `ruff` linter --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 3618c0c99..179c5bef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ target-version = "py38" [tool.ruff.lint] select = ["ALL"] ignore = [ + "A002", # builtin-argument-shadowing "ANN101", # Missing type annotation for `self` in method "D203", # One blank line required before class docstring "D213", # Multi-line docstring summary should start at the second line