Development Guidelines#
Getting Started#
To get started with contributions to the library follow these steps:
- Fork the repository.
- Clone your fork to your machine:
- Install the Python package in an editable fashion with all development dependencies (in a new virtual environment):
That's it! To make contributions to the main library simply push your changes to your fork and create a pull request on GitHub.
Continuous Integration#
We use tox
to simplify any tasks related to continuous integration.
Running Tests#
You can run (a subset of) tests via
Building the Documentation#
You can build the documentation and view it locally in your browser.
Now open a browser and enter the local address shown in your terminal.
Formatting Code#
To ensure consistent formatting throughout the library, we check for properly formatted code and imports.
To check whether your code is properly formatted run:
If you want tox
to automatically format a specific folder, simply run