equal
deleted
inserted
replaced
520 |
520 |
521 else your hooks will be called madly, whatever the event. |
521 else your hooks will be called madly, whatever the event. |
522 """ |
522 """ |
523 __select__ = enabled_category() |
523 __select__ = enabled_category() |
524 # set this in derivated classes |
524 # set this in derivated classes |
|
525 category = None |
525 events: Union[None, Tuple[str], Tuple[str, str]] = None |
526 events: Union[None, Tuple[str], Tuple[str, str]] = None |
526 category: Union[None, str] = None |
|
527 order = 0 |
527 order = 0 |
528 # stop pylint from complaining about missing attributes in Hooks classes |
528 # stop pylint from complaining about missing attributes in Hooks classes |
529 eidfrom = eidto = entity = rtype = repo = None |
529 eidfrom = eidto = entity = rtype = repo = None |
530 |
530 |
531 @classmethod |
531 @classmethod |