Setting up a development environment#
Fork the GitHub repository
Clone the fork repository to your local machine
Install
stimupywith the development requirementspip install -e ".[dev]"Recommended to create an editable installation using
".[dev,docs]"to also edit and build the documentation
The stimupy project uses a couple of development tools
to work towards more consistent code quality:
pytestfor unit and integration testspyupgradefor possible syntax improvements using newer language featuresblackfor consistent code formattingflake8for all kinds of linting
These tools get installed as part of the [dev] extra dependencies.
Additionally, to run these more consistently, one can install:
noxfor automatically running tests across different Python versionsprecommitfor automatically running formatters and linters