Contributing to conftier
We welcome contributions to conftier! This document provides guidelines for contributing to the project.
Getting Started
Click here to fork the repository on GitHub.
Clone your fork locally:
bashgit clone https://github.com/your-username/conftier.git cd conftierCreate a virtual environment and install dependencies:
bashconda create -n conftier python==3.10 conda activate conftier pip install poetry poetry install
Development Workflow
Here are the steps to contribute to the project and make a pull request on GitHub:
Create a new branch for your feature or bugfix:
bashgit checkout -b feature-or-fix-nameMake your changes and commit them after testing:
bashmake test git commit -m "Your detailed commit message"Push your changes to your fork:
bashgit push origin feature-or-fix-nameSubmit a pull request through the GitHub website.
Coding Standards
- We use
rufffor code formatting, runmake formatand `make lint before committing. - Use pytest for testing, run
make testbefore committing. - Write clear, commented code.
- Include unit tests and related documentation for new features.
Run Tests
Run the test suite using:
bash
make testRun Documentation
Run the documentation server locally, you can edit them in ./docs
bash
make install-docs
make start-docs