Created
April 3, 2021 14:11
-
-
Save eshaan7/94e8ea35079395483006b85b94c75183 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pluggy | |
hookimpl = pluggy.HookimplMarker("myproject") | |
class PluginXYZ: | |
"""A 2nd hook implementation namespace. | |
""" | |
@hookimpl | |
def myhook(self, arg1, arg2): | |
print("inside PluginXYZ.myhook()") | |
return arg1 - arg2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment