-
-
Notifications
You must be signed in to change notification settings - Fork 3
Merging 'new-eff' to 'master' #54
Conversation
25fb346
to
9ff81b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me. Only this one point.
src/palace.pyx
Outdated
@@ -1671,7 +1670,14 @@ cdef class AuxiliaryEffectSlot: | |||
""" | |||
self.impl.set_send_auto(value) | |||
|
|||
# TODO: apply effect | |||
@setter | |||
def effect(self, effect: Effect) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be consistent with our code the argument for @setter
methods is value
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to change the function's content too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Feel free to squash and merge anytime. Remember to give the commit a meaningful message and remove the redundant log (usually all content of previous commit messages).
No description provided.