def setup_hypothesis():
    from hypothesis import settings, Verbosity

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


setup_hypothesis()

def setup_hypothesis():
    from hypothesis import settings, Verbosity

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


setup_hypothesis()

Add a “lots” Hypothesis profile (max_examples=100_000)
tests: Add a “lots” Hypothesis profile (max_examples=100_000)

This is useful when testing that a new test is (likely) not flaky.
