Welcome to arviz-base! Before contributing to the project,
make sure that you read our code of conduct (CODE_OF_CONDUCT.md).
- Set up a Python development environment (advice: use venv, virtualenv, or miniconda)
- Install tox:
python -m pip install tox - Clone the repository
- Start a new branch off main:
git switch -c new-branch main - Install dependencies
tox devenv -e py310 .venv. You may need to install some extra dependenciespip install ".[check,doc,ci]". (change the version number according to the Python you are using, and.venvfor your environment path) - Make your code changes
- Check that your code follows the style guidelines of the project:
tox -e check - (optional) Build the documentation:
tox -e docs - (optional) Run the tests:
tox -e py310(change the version number according to the Python you are using) - Commit, push, and open a pull request!