Miscellany

Slack

Slack integration that lets the scripts pipe up in #notifications is provided by hammers.slack.Slackbot

Util

Helper functions

hammers.util.drop_prefix(s, start)[source]

Remove prefix start from sting s. Raises a ValueError if s didn’t start with start.

hammers.util.nullcontext(*args, **kwargs)[source]

With with, wiff (do nothing). Added to stdlib in 3.7 as contextlib.nullcontext()