Thank you for your interest in contributing.
git clone https://github.com/lfdesousa/AuditTrace-AI
cd AuditTrace-AI
./scripts/setup.sh # or: make install- Linter:
ruff check src/ tests/ - Formatter:
ruff format src/ tests/ - Type checking:
mypy src/ - Line length: 88 characters
- Python 3.12+ features encouraged (type unions, f-strings, pathlib)
- Framework: pytest
- Coverage floor: 90% (enforced in CI)
- Run:
make test - All new code must include tests
- Follow existing ABC + implementation + mock pattern
We use Conventional Commits:
<type>(<scope>): <short description>
Types: feat, fix, docs, refactor, test, ci, chore, perf
Scopes: db, auth, infra, memory, routes, config
- Fork the repository
- Create a feature branch from
main - Write tests first (TDD)
- Implement the feature
- Ensure all checks pass:
ruff check && ruff format --check && pytest - Submit a PR with a clear description
Significant changes require an ADR in docs/ADR-NNN-kebab-title.md.
By contributing, you agree that your contributions will be licensed under the AGPL-3.0 license.