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 95e6139 commit a075ddfCopy full SHA for a075ddf
flake8_encodings/__init__.py
@@ -220,6 +220,11 @@ def visit_Call(self, node: ast.Call): # noqa: D102
220
# Attribute on a string
221
return self.generic_visit(node)
222
223
+ elif isinstance(node.func.value, ast.BinOp): # pragma: no cover
224
+ # TODO
225
+ # Expressions such as (tmp_pathplus / "code.py").write_text(example_source)
226
+ return self.generic_visit(node)
227
+
228
elif self.filename.as_posix() == "<unknown>":
229
# no jedi source (run with .visit() or from memory)
230
0 commit comments