Skip to content

Commit 6755c87

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6868d34 commit 6755c87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/ir/class_ir.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ def __init__(
118118
# added if is_generated is False)
119119
self.needs_getseters = False
120120
# A value type is a class that can be passed by value instead of by reference.
121-
self.is_value_type = self.is_ext_class and self.is_immutable and not self.has_dict and is_value_type
121+
self.is_value_type = (
122+
self.is_ext_class and self.is_immutable and not self.has_dict and is_value_type
123+
)
122124
# Is this class declared as serializable (supports copy.copy
123125
# and pickle) using @mypyc_attr(serializable=True)?
124126
#

0 commit comments

Comments
 (0)