Thank you for considering contributing to FLAMEHAVEN FileSearch! This project is built and improved by the community.
Found a bug? Please report it on GitHub Issues.
Effective bug report template:
## Bug Description
[Clear and concise description]
## Steps to Reproduce
1. [Step 1]
2. [Step 2]
3. [Expected vs Actual result]
## Environment
- OS: [Windows/Mac/Linux]
- Python: [version]
- flamehaven-filesearch: [version]
## Error Logs
[Output/Stack trace]
## Additional Context
[Screenshots, configuration, etc]Want to suggest a new feature?
Before submitting:
- Check Roadmap for planned features
- Search Discussions for similar requests
Perfect for newcomers - look for issues labeled:
- good first issue - Recommended for first-time contributors
- documentation - Documentation improvements
- bug - Small bugs with clear requirements
- refactor - Small refactoring tasks
-
Fork the Repository
git clone https://github.com/YOUR-USERNAME/Flamehaven-Filesearch.git cd Flamehaven-Filesearch -
Create Feature Branch
git checkout -b feature/your-feature-name git checkout -b fix/your-bug-fix
-
Set Up Development Environment
pip install -e ".[dev]" -
Implement & Test
pytest tests/ -v black flamehaven_filesearch/ isort flamehaven_filesearch/ flake8 flamehaven_filesearch/
-
Commit Changes
git commit -m "feat: description" git push origin feature/your-feature-name -
Create Pull Request
- Open PR on GitHub
- Wait for CI/CD tests
- Address review feedback
- Merge!
We follow Conventional Commits:
<type>(<scope>): <subject>
<body>
Types: feat, fix, docs, style, refactor, test, chore
Scopes: auth, api, cache, docs, test
Examples:
feat(auth): add API key rotation
fix(cache): fix Redis connection timeout
docs: add Kubernetes deployment guideAll new features must include tests:
# tests/test_my_feature.py
import pytest
class TestMyFeature:
def test_basic_functionality(self):
result = my_function("input")
assert result == "expected"
def test_edge_case(self):
with pytest.raises(ValueError):
my_function(None)Requirements:
- Minimum 90% code coverage
- All existing tests must pass
- New features should aim for 100% coverage
Your PR will be evaluated on:
- PEP 8 compliant
- Type hints included
- Comments for complex logic
- No dead code
- DRY principle followed
- Tests for new features included
- All existing tests pass
- 90%+ code coverage
- Edge cases tested
- Docstrings for functions/classes
- README updated (if needed)
- CHANGELOG updated
- Major changes explained
- Python 3.8+ support
- Works on Windows, Mac, Linux
- Docker compatible
# Clone your fork
git clone https://github.com/YOUR-USERNAME/Flamehaven-Filesearch.git
cd Flamehaven-Filesearch
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dev dependencies
pip install -e ".[dev]"
# Verify with tests
pytest tests/ -v- Questions: GitHub Discussions
- Bugs: GitHub Issues
- Documentation: README.md
- API Docs: http://localhost:8000/docs (when running)
By contributing, you agree your work will be licensed under MIT License.
Thank you for contributing! 🙏