Thank you for your interest in contributing to CodeBeaver! This document provides guidelines and instructions for contributing to the project.
-
Clone the repository:
-
Create a virtual environment and activate it:
python -m venv .venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On Windows
-
Install the package in development mode with test dependencies:
pip install -e ".[test]"
We use pytest for our test suite. To run the tests:
pytest
To run tests with coverage report:
pytest --cov=codebeaver --cov-report=term-missing
We follow PEP 8 style guidelines. Before submitting a pull request, please ensure your code follows these standards.
You can check code style using:
# Install development dependencies
pip install black flake8
# Run black for code formatting
black .
# Run flake8 for style checking
flake8 .
- Fork the repository and create your branch from
main
. - If you've added code that should be tested, add tests.
- Ensure the test suite passes.
- Update the documentation if needed.
- Issue the pull request!
By contributing to CodeBeaver, you agree that your contributions will be licensed under its MIT license.