From 44bd8a33f974d29a39464373bbfe76cd6ba1410b Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Fri, 7 Aug 2026 09:37:46 +0000 Subject: [PATCH] ruff ignore minor cleanup --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 153962b5..fc1395f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ indent-style = "tab" [tool.ruff.lint] ignore = [ - "ASYNC221", # Async functions should not run processes with blocking methods + "ASYNC221", # blocking method in async function (mmgen/rpc/backends/curl.py) "B006", # Do not use mutable data structures for argument defaults "B009", # Do not call `getattr` with a constant attribute value. It is not any safer than normal property access. "B010", # Do not call `setattr` with a constant attribute value. It is not any safer than normal property access. @@ -97,10 +97,7 @@ ignore = [ ] [tool.ruff.lint.per-file-ignores] -"mmgen/tool/*" = [ - "F722", # Syntax error in forward annotation - "F821" # Undefined name `sstr` -] +"mmgen/tool/*" = [ "F821" ] # Undefined name `sstr` "mmgen/tool/file.py" = [ "B008" ] # function call in dfl args "examples/*" = [ "ASYNC230" ] # open() in async function