Skip to content

Commit 823cf6e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9bd0610 commit 823cf6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pylint/checkers/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,9 @@ def class_is_abstract(node: nodes.ClassDef) -> bool:
11741174

11751175
# As well as directly inherited ABC class
11761176
for base in node.bases:
1177-
base_class_name = base.attrname if isinstance(base, astroid.Attribute) else base.as_string()
1177+
base_class_name = (
1178+
base.attrname if isinstance(base, astroid.Attribute) else base.as_string()
1179+
)
11781180
if base_class_name == "ABC":
11791181
# abc.ABC inheritance
11801182
return True

0 commit comments

Comments
 (0)