If you are planning to contribute to this project, please make sure to install it under developer mode. Clone the repo, create and activate an environment and run
pip install -e ".[dev]"
The "-e" flag will install the package in editable mode, which means you can edit the source code without having to re-install. The ".[dev]" will install the package in the repo, and the extra dependencies needed for development.
When you install in developer mode with ".[dev]
you will install the pre-commit package. To set up this package simply run
pre-commit install
Then, everytime before doing a commit (that is before git add
and git commit
) run the following command:
pre-commit run --all-files
This will run ruff
linting and formatting. If there is anything that cannot be automatically fixed, the command will let you know the file and line that needs to be fixed before being able to commit. Once you have fixed everything, you will be able to run git add
and git commit
without issue.
python -m pytest tests/
- Fork the repository and perform changes in your fork.
- After your fork is updated, you can open a Open a Pull Request.