Skip to content

Commit 3158d15

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bee44dc commit 3158d15

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mypyc/ir/class_ir.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,14 @@ def fullname(self) -> str:
239239

240240
@property
241241
def allow_interpreted_subclasses(self) -> bool:
242-
return self._allow_interpreted_subclasses or not self.is_ext_class and not self.is_final_class
243-
242+
return (
243+
self._allow_interpreted_subclasses or not self.is_ext_class and not self.is_final_class
244+
)
245+
244246
@allow_interpreted_subclasses.setter
245247
def _(self, value: bool) -> None:
246248
self._allow_interpreted_subclasses = value
247-
249+
248250
def real_base(self) -> ClassIR | None:
249251
"""Return the actual concrete base class, if there is one."""
250252
if len(self.mro) > 1 and not self.mro[1].is_trait:

0 commit comments

Comments
 (0)