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 conftier
Create 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-name
Make 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-name
Submit a pull request through the GitHub website.
Coding Standards
- We use
ruff
for code formatting, runmake format
and `make lint before committing. - Use pytest for testing, run
make test
before committing. - Write clear, commented code.
- Include unit tests and related documentation for new features.
Run Tests
Run the test suite using:
bash
make test
Run Documentation
Run the documentation server locally, you can edit them in ./docs
bash
make install-docs
make start-docs