import os
from hypothesis import settings, Verbosity

settings.register_profile("ci", settings(max_examples=1000))
settings.register_profile("dev", settings(max_examples=5))
settings.register_profile("debug", settings(max_examples=10, verbosity=Verbosity.verbose))

settings.load_profile(os.environ.get(u'HYPOTHESIS_PROFILE', 'dev'))

Address review feedback: set hypothesis settings depending on env. Default to dev.