Thank you for contributing!
Start: docs/GETTING_STARTED.md, TESTING.md
git clone https://github.com/YOUR_USERNAME/traceflux.git
cd traceflux
pipx install -e .
git checkout -b issue/42-feature
# Changes, test, commit, push, PRPRs required. No direct pushes to main.
Conventional Commits for versioning.
<type>: <description>
| Type | Description | Version |
|---|---|---|
| feat: | Feature | Minor |
| fix: | Bug fix | Patch |
| docs: | Docs | None |
| refactor: | Refactor | None |
| chore: | Maintenance | None |
feat: remove API
BREAKING CHANGE: old_api() removed
-> Major bump.
git commit -m "feat: add search"
git commit -m "fix: handle empty"
git commit -m "docs: update README"Learn: https://www.conventionalcommits.org/
Bug Reports: Description, steps, expected vs actual, env.
Bug Fixes: Fix, test, docs.
Docs: Typos, examples.
Features: Use case, value.
- Premature optimization
- UNIX violations
- Unjustified breaking changes
- Unreviewed dependencies
git clone https://github.com/YOUR_USERNAME/traceflux.git
cd traceflux
pipx install -e .
pytest -vpytest # All
pytest --cov=src/traceflux
pytest tests/test_x.py
pytest -k "pattern"pip install -e ".[dev]"
pip install black flake8 mypy
black src/ tests/
flake8 --max-line-length=100 src/git config core.hooksPath .githooks- Update docs
- Add tests
- Run pytest
- Check black, flake8
- Update CHANGELOG.md
git checkout main && git pull
git checkout issue/42-feature
git rebase main
git commit -m "feat: add"
git push -u origin issue/42-feature
# Open PR- Manual review
- CI/CD pass
- 1 maintainer approval
Use merge commit. Delete branch after.
See .github/BRANCH_PROTECTION.md
- PEP 8
- Type hints (public APIs)
- Google/NumPy docstrings
- Max 100 chars
- Std lib first
"""Module docstring."""
from typing import List
def func(param: str) -> List[str]:
"""Docstring.
Args:
param: Desc
Returns:
Desc
"""
pass- Lowercase: feat: add
- Imperative: add (not added)
- No period
- Max 72 chars
git config user.email "ID+user@users.noreply.github.com"**Bug**: Desc
**Steps**: 1. Install 2. Run 3. Error
**Expected**: Should...
**Actual**: Did...
**Env**: Python 3.11, Ubuntu, v1.0.0**Problem**: Desc
**Solution**: Want...
**Use case**: How?- One Thing Well
- Composability
- Simplicity
- Clarity
- Discoverability
- Performance
- Privacy
- Maintainability
Report privately via GitHub Security tab.
See SECURITY.md
- Discussions: github.com/tracer-mohist/traceflux/discussions
- Issues: github.com/tracer-mohist/traceflux/issues License: MIT