Development¶
Code Contributions¶
If you are interested in contributing to the codebase:
-
Install the dev dependencies. From
cobra-toolsdirectory run:python.exe -m pip install --upgrade pip && pip install .[gui,dev] -
Then install the pre-commit hooks:
pre-commit install -f
Documentation Contributions¶
If you are interested in contributing to the documentation:
-
Install the mkdocs dependencies. From
cobra-toolsdirectory run:python.exe -m pip install --upgrade pip && pip install .[doc] -
Then, you may run mkdocs locally with:
mkdocs serve -
Your documentation edits and additions will be refreshed live as long as the mkdocs server is running.