From f98195592db935de6f72aca2c543e1f04b91fa57 Mon Sep 17 00:00:00 2001
From: Alexandru Fikl <alexfikl@gmail.com>
Date: Thu, 27 Jun 2024 14:01:18 +0300
Subject: [PATCH] mpiwrap: update noqa

---
 pytools/graph.py   | 2 +-
 pytools/mpiwrap.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pytools/graph.py b/pytools/graph.py
index 054c544..1a02484 100644
--- a/pytools/graph.py
+++ b/pytools/graph.py
@@ -465,7 +465,7 @@ def as_graphviz_dot(graph: GraphT[NodeT],
          for (node, targets) in graph.items()
          for t in targets])
 
-    return f"digraph mygraph {{\n{ content }\n}}\n"
+    return f"digraph mygraph {{\n{content}\n}}\n"
 
 # }}}
 
diff --git a/pytools/mpiwrap.py b/pytools/mpiwrap.py
index e0492e0..862556d 100644
--- a/pytools/mpiwrap.py
+++ b/pytools/mpiwrap.py
@@ -13,7 +13,8 @@ import pytools.prefork  # pylint:disable=wrong-import-position
 pytools.prefork.enable_prefork()
 
 
-if Is_initialized():  # noqa pylint:disable=undefined-variable
+# pylint: disable-next=undefined-variable
+if Is_initialized():    # type: ignore[name-defined,unused-ignore] # noqa
     raise RuntimeError("MPI already initialized before MPI wrapper import")
 
 
-- 
GitLab