Contribution

Cloning the project from Github

  1. Fork the repository and clone the project:

git clone git@github.com:<your_username>/physprep.git

Installing the dependencies

Using poetry

  1. Create a virtual environment and install the dependencies:

poetry install --with dev
  1. Activate the environment

poetry shell

If the command above does not work, use:

source $(poetry env info --path)/bin/activate

Using venv

  1. Create a virtual environment:

python3 -m venv <venv_name>
source <venv_name>/bin/activate
  1. Install the dependency:

cd physprep
pip install -e .[dev]
  1. Install pre-commit hooks

pre-commit install

Building the documentation locally

In your terminal:

cd docs
make html

The documentation will be generated in docs/build/html.