8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64476ed commit 049d54fCopy full SHA for 049d54f
flake8_encodings/__init__.py
@@ -225,6 +225,11 @@ def visit_Call(self, node: ast.Call): # noqa: D102
225
# Expressions such as (tmp_pathplus / "code.py").write_text(example_source)
226
return self.generic_visit(node)
227
228
+ elif isinstance(node.func.value, ast.Subscript): # pragma: no cover
229
+ # TODO
230
+ # Expressions such as my_list[0].run()
231
+ return self.generic_visit(node)
232
+
233
elif self.filename.as_posix() == "<unknown>":
234
# no jedi source (run with .visit() or from memory)
235
0 commit comments