Thank you for your interest in contributing to SQLAlchemy-ViewORM! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to abide by our code of conduct: be respectful, considerate, and collaborative.
If you find a bug, please submit an issue with:
- A clear and descriptive title
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Environment details (OS, Python version, SQLAlchemy version, etc.)
- Any additional context that might help
We welcome suggestions for enhancements! Please submit an issue with:
- A clear and descriptive title
- A detailed description of the proposed enhancement
- Examples of how the enhancement would be used
- Any relevant context or background
We actively welcome pull requests. Here's how to submit one:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests to ensure they pass
- Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Clone your fork of the repository
- Install development dependencies:
pip install -e ".[dev]" - Install pre-commit hooks:
pre-commit install
We use pytest for testing. Run the tests with:
pytestFor coverage reports:
pytest --cov=sqlalchemy_view_ormWe follow these coding standards:
- Black for code formatting
- isort for import sorting
- mypy for type checking
- flake8 for linting
You can run these tools manually or use pre-commit hooks.
When adding new features, please update the relevant documentation:
- Update docstrings for public classes and methods
- Update README.md if necessary
- Add examples if appropriate
We use Semantic Versioning (MAJOR.MINOR.PATCH).
- Update version in
sqlalchemy_view_orm/__init__.py - Update CHANGELOG.md
- Create a new GitHub release with the version number
If you need help with the contribution process, feel free to open an issue with your question.
By contributing to SQLAlchemy-ViewORM, you agree that your contributions will be licensed under the project's MIT License.