Thank you for considering contributing to Plan-Linter! This document provides guidelines and instructions for contributing.
By participating in this project, you agree to abide by our Code of Conduct.
Bug reports help us improve. When creating a bug report, please include:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected behavior vs. actual behavior
- Environment details (OS, Python version, etc.)
Feature suggestions are welcome. Please provide:
- A clear description of the feature
- The problem it solves
- Possible implementation approaches
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests and linting (
pytestandpre-commit run --all-files) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
-
Clone the repository
git clone https://github.com/cirbuk/plan-lint.git cd plan-lint -
Create a virtual environment and install dependencies
python -m venv .venv source .venv/bin/activate # On Windows, use `.venv\Scripts\activate` pip install -e ".[dev]"
-
Setup pre-commit hooks
pip install pre-commit pre-commit install
- Follow PEP 8 style guidelines
- Write docstrings in Google style format
- Include type hints
- Add tests for new functionality
Run tests with pytest:
pytest- Update documentation for new features or changes
- Include docstrings for all public functions, classes, and methods
Thank you for contributing to Plan-Linter!