From 1f5a23a8162f695abaee062558d9b609a3f4366a Mon Sep 17 00:00:00 2001 From: toonn Date: Sun, 8 Aug 2021 20:22:06 +0200 Subject: py2_compat: Fix formatting for PEP8 --- tests/pylint/py2_compat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/pylint/py2_compat.py') diff --git a/tests/pylint/py2_compat.py b/tests/pylint/py2_compat.py index 5cc5b911..7e136148 100644 --- a/tests/pylint/py2_compat.py +++ b/tests/pylint/py2_compat.py @@ -128,10 +128,10 @@ class Py2CompatibilityChecker(BaseChecker): if ((isinstance(cm.func, astroid.nodes.Name) and cm.func.name.endswith("Popen") and (node.root().scope_lookup(node.root(), "Popen")[1][0] - ).modname == "subprocess") + ).modname == "subprocess") or (isinstance(cm.func, astroid.nodes.Attribute) - and cm.func.expr == "subprocess" - and cm.func.attrname == "Popen")): + and cm.func.expr == "subprocess" + and cm.func.attrname == "Popen")): self.add_message("with-popen23", node=node, confidence=HIGH) -- cgit 1.4.1-2-gfad0
about summary refs log blame commit diff stats
path: root/072recipe.cc
blob: 439b20001ee988a1fc123eb486212bc8bee3962b (plain) (tree)
1
2
3
4
5
6
7
8
9