Just use a @staticmethod per the advice in https://pylint.pycqa.org/en/latest/user_guide/messages/refactor/no-self-use.html
class Example:
@staticmethod
def on_enter(dummy_game, dummy_player):
"""Defines effects when entering area."""
return None