Contribution
Cloning the project from Github
Fork the repository and clone the project:
git clone git@github.com:<your_username>/physprep.git
Installing the dependencies
Using poetry
Create a virtual environment and install the dependencies:
poetry install --with dev
Activate the environment
poetry shell
If the command above does not work, use:
source $(poetry env info --path)/bin/activate
Using venv
Create a virtual environment:
python3 -m venv <venv_name>
source <venv_name>/bin/activate
Install the dependency:
cd physprep
pip install -e .[dev]
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.