- Maintain respectful and professional communication
- Be open to collaboration and constructive feedback
- Foster an inclusive environment where everyone feels welcome
- Help others and share knowledge when possible
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/Synthalingua.git
- Add upstream remote:
git remote add upstream https://github.com/cyberofficial/Synthalingua.git
- Create a virtual environment:
python -m venv venv
- Activate environment:
- Windows:
venv\Scripts\activate
- Unix/MacOS:
source venv/bin/activate
- Windows:
- Install dependencies:
pip install -r requirements_dev.txt
master
- Production-ready codedevelop
- Integration branch for features- Feature branches:
feature/your-feature-name
- Bug fix branches:
fix/issue-description
- Format:
type/short-description
IMPORTANT: I do not accept AI-generated code. All contributions must be human-written code.
-
Ensure your code:
- Meets our minimum Python version requirements
- Includes appropriate error handling
- Is well-documented with docstrings
- Follows our code style guidelines
- Includes necessary unit tests
-
Before submitting:
- Run all tests locally
- Update documentation if needed
- Ensure your branch is up to date with develop
- Use clear, concise language
- Include code examples where appropriate
- Update relevant README sections
- Add docstrings to new functions/classes
- Keep documentation in sync with code changes
- Create focused PRs (one feature/fix per PR)
- Use descriptive titles:
[Type] Brief description
- Include in description:
- What changes were made
- Why changes were necessary
- How to test the changes
- Related issue numbers
- Link relevant issues
- Update tests and documentation
- Ensure CI checks pass
Format: type(scope): description
Types:
feat
: New featurefix
: Bug fixdocs
: Documentation onlystyle
: Code style changesrefactor
: Code refactoringtest
: Testing changeschore
: Maintenance tasks
Example: feat(audio): add new transcription format support
Include:
- Steps to reproduce
- Expected behavior
- Actual behavior
- System information:
- OS version
- Python version
- Synthalingua version
- Screenshots/logs if applicable
- Sample code demonstrating the issue
Include:
- Clear description of the feature
- Use case and benefits
- Potential implementation approach
- Any relevant examples
- Follow PEP 8 conventions
- Use meaningful variable/function names
- Keep functions focused and small
- Use type hints where possible
- Maximum line length: 100 characters
- Use descriptive docstrings
- Include unit tests for new features
- Maintain or improve code coverage
- Test edge cases and error conditions
- Include integration tests where needed
- Verify backward compatibility