From c212191bbf288b4362d0a64eae0df2afcb76d82c Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 14 Nov 2024 16:36:16 +0100 Subject: backend/lint: Ignore B007 B007 is "unused-loop-control-variable", which is only enabled by default because an unused variable in a loop statement "can confuse readers". The only couple of places that happens in this codebase is when unpacking os.walk, which really shouldn't be a problem. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fa96a16..784197d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ select = [ "FURB" # refurb ] -ignore = ["SIM102", "SIM108"] +ignore = ["B007", "SIM102", "SIM108"] [tool.pytest.ini_options] pythonpath = ["src"] -- cgit v1.2.3-2-gb3c3