You can modify Brownie's default behaviours by creating an optional configuration file.
The configuration file must be saved as brownie-config.yaml
. If saved in the root directory of a project it will be loaded whenever that project is active. If saved in your home path, it will always be loaded.
All configuration fields are optional. You can copy from the examples below and modify the settings as required.
The following example shows all configuration settings and their default values:
../brownie/data/default-config.yaml
Compiler settings. See compiler settings<compile_settings>
for more information.
Default settings for property-based<hypothesis>
and stateful<hypothesis-stateful>
test execution. See the Hypothesis settings documentation for a complete list of available settings.
hypothesis:
deadline: null
max_examples: 50
stateful_step_count: 10