1.7 KiB
1.7 KiB
Contributing to Newzy
Thank you for your interest in contributing to Newzy! This document outlines the guidelines and processes for contributing to the project.
How to Contribute
Reporting Bugs
Please open an issue on GitHub with:
- A clear description of the problem
- Steps to reproduce (if applicable)
- Expected vs actual behavior
- Environment details (OS, browser version, etc.)
Suggesting Features
We welcome feature suggestions! Please submit detailed proposals including:
- Problem statement
- Proposed solution
- Use cases and benefits
Making Changes
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes following our coding standards
- Write or update tests as needed
- Ensure all tests pass (
pytest -v) - Submit a pull request
Development Standards
Code Style
- Follow Python PEP 8 guidelines
- Use type hints for function signatures
- Include docstrings for public functions and classes
Testing
- Write tests for all new features
- Aim for at least 70% code coverage
- Run
pytestbefore submitting PRs
Commit Messages
Use the following format:
type(scope): description
Detailed explanation (optional)
Closes #123
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code formattingrefactor: Refactoringtest: Test changeschore: Maintenance
Pull Request Process
- Ensure all tests pass
- Update documentation as needed
- Link to relevant issues in your PR description
- Request review from maintainers
Questions?
Please open an issue for any questions or discussions.
Happy coding! 🚀