Automatically calls hooks with self.config from the Engine() as the first argument, followed by the arguments passed to run_hook(). Also updates the only hook I could find in contrib/hooks.py and adds the changes to the hooks.mkd file in docs.
Adding site config as argument to all hooks
Adding information about config argument to hooks
This looks good, thank you!
should've posted this on the PR
This argument could probably be passed in as a kwarg; it's backwards incompatible. And it's caused me some pain since PyPi and master aren't compatible.