From ce936a7a854447f0b28ea64847ef153f709ad436 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 28 Jun 2021 13:02:54 -0500
Subject: [PATCH] Fix use of enum.auto in arithmetic._OpClass

---
 arraycontext/container/arithmetic.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arraycontext/container/arithmetic.py b/arraycontext/container/arithmetic.py
index 7e5da8b..f3fb4af 100644
--- a/arraycontext/container/arithmetic.py
+++ b/arraycontext/container/arithmetic.py
@@ -42,12 +42,12 @@ T = TypeVar("T")
 
 
 class _OpClass(enum.Enum):
-    ARITHMETIC = enum.auto
-    MATMUL = enum.auto
-    BITWISE = enum.auto
-    SHIFT = enum.auto
-    EQ_COMPARISON = enum.auto
-    REL_COMPARISON = enum.auto
+    ARITHMETIC = enum.auto()
+    MATMUL = enum.auto()
+    BITWISE = enum.auto()
+    SHIFT = enum.auto()
+    EQ_COMPARISON = enum.auto()
+    REL_COMPARISON = enum.auto()
 
 
 _UNARY_OP_AND_DUNDER = [
-- 
GitLab