Files

77 lines
1.7 KiB
Markdown

# 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
1. **Fork** the repository
2. Create a new **branch** (`git checkout -b feature/amazing-feature`)
3. Make your changes following our coding standards
4. Write or update tests as needed
5. Ensure all tests pass (`pytest -v`)
6. 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 `pytest` before submitting PRs
### Commit Messages
Use the following format:
```
type(scope): description
Detailed explanation (optional)
Closes #123
```
Types:
- `feat`: New feature
- `fix`: Bug fix
- `docs`: Documentation changes
- `style`: Code formatting
- `refactor`: Refactoring
- `test`: Test changes
- `chore`: Maintenance
## Pull Request Process
1. Ensure all tests pass
2. Update documentation as needed
3. Link to relevant issues in your PR description
4. Request review from maintainers
## Questions?
Please open an issue for any questions or discussions.
Happy coding! 🚀