diff --git a/loopy/kernel/__init__.py b/loopy/kernel/__init__.py
index e71a88886cd2c244211f8f39dca3745c9c6ebc80..64cf42cf79af1f85feec6dcfeae9d96560e1dd32 100644
--- a/loopy/kernel/__init__.py
+++ b/loopy/kernel/__init__.py
@@ -1175,8 +1175,8 @@ class LoopKernel(RecordWithoutPickling):
 
             import loopy as lp
 
-            Fore = self.options._fore
-            Style = self.options._style
+            Fore = self.options._fore  # noqa
+            Style = self.options._style  # noqa
 
             from loopy.kernel.tools import draw_dependencies_as_unicode_arrows
             for insn, (arrows, extender) in zip(
diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py
index b1430448d1bcdb882345aa562132d2444e9641df..583a341a96be6ce63993afcc6e56aa1c950c2d23 100644
--- a/loopy/kernel/data.py
+++ b/loopy/kernel/data.py
@@ -289,7 +289,7 @@ class InameArg(ValueArg):
 
 # {{{ temporary variable
 
-class temp_var_scope:
+class temp_var_scope:  # noqa
     """Storage location of a temporary
 
     .. attribute:: PRIVATE
diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py
index 417ff9dd37c682e599e0586ec61f02169e9fe7aa..3a3a8f4e5f535790d8f1e6b9b388ca34cb8a1ba0 100644
--- a/loopy/kernel/instruction.py
+++ b/loopy/kernel/instruction.py
@@ -502,7 +502,7 @@ def _get_assignee_subscript_deps(expr):
 
 # {{{ atomic ops
 
-class memory_ordering:
+class memory_ordering:  # noqa
     """Ordering of atomic operations, defined as in C11 and OpenCL.
 
     .. attribute:: relaxed
@@ -530,7 +530,7 @@ class memory_ordering:
         raise ValueError("Unknown value of memory_ordering")
 
 
-class memory_scope:
+class memory_scope:  # noqa
     """Scope of atomicity, defined as in OpenCL.
 
     .. attribute:: auto
diff --git a/loopy/schedule/__init__.py b/loopy/schedule/__init__.py
index 1031488be0c31e3907c313101e0f5e70a88b95d0..593eb23b7be4537261a4a0b541fdf152f33d2d84 100644
--- a/loopy/schedule/__init__.py
+++ b/loopy/schedule/__init__.py
@@ -416,15 +416,15 @@ def sched_item_to_insn_id(sched_item):
 # {{{ debug help
 
 def format_insn_id(kernel, insn_id):
-    Fore = kernel.options._fore
-    Style = kernel.options._style
+    Fore = kernel.options._fore  # noqa
+    Style = kernel.options._style  # noqa
     return Fore.GREEN + insn_id + Style.RESET_ALL
 
 
 def format_insn(kernel, insn_id):
     insn = kernel.id_to_insn[insn_id]
-    Fore = kernel.options._fore
-    Style = kernel.options._style
+    Fore = kernel.options._fore  # noqa
+    Style = kernel.options._style  # noqa
     from loopy.kernel.instruction import (
             MultiAssignmentBase, NoOpInstruction, BarrierInstruction)
     if isinstance(insn, MultiAssignmentBase):
@@ -645,8 +645,8 @@ def generate_loop_schedules_internal(
     # to give loops containing high-priority instructions a chance.
 
     kernel = sched_state.kernel
-    Fore = kernel.options._fore
-    Style = kernel.options._style
+    Fore = kernel.options._fore  # noqa
+    Style = kernel.options._style  # noqa
 
     if allow_boost is None:
         rec_allow_boost = None