Skip to content

Commit fb7e1b1

Browse files
ArmavicaricardoV94
authored andcommitted
Apply safe ruff fix
1 parent 610fa1a commit fb7e1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/model/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def __init_subclass__(cls, **kwargs):
209209
def __call__(cls, *args, **kwargs):
210210
# We type hint Model here so type checkers understand that Model is a context manager.
211211
# This metaclass is only used for Model, so this is safe to do. See #6809 for more info.
212-
instance: "Model" = cls.__new__(cls, *args, **kwargs)
212+
instance: Model = cls.__new__(cls, *args, **kwargs)
213213
with instance: # appends context
214214
instance.__init__(*args, **kwargs)
215215
return instance

0 commit comments

Comments
 (0)