Skip to content

Commit f38fbf5

Browse files
committed
oh derp, visitor91x is a CST visitor
1 parent b6b9d67 commit f38fbf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake8_async/visitors/flake8asyncvisitor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ def set_state(self, attrs: dict[str, Any], copy: bool = False):
134134
def save_state(self, node: ast.AST, *attrs: str, copy: bool = False):
135135
state = self.get_state(*attrs, copy=copy)
136136
if node in self.outer:
137-
self.outer[node].update(state)
137+
# not currently used, and not gonna bother adding dedicated test
138+
# visitors atm
139+
self.outer[node].update(state) # pragma: no cover
138140
else:
139141
self.outer[node] = state
140142

0 commit comments

Comments
 (0)