- Python 3
- unittest for testing
- Follow PEP 8 style
- Use type hints where practical
- Keep functions small and focused
- Use docstrings for public functions
- All new functionality must have tests
- Run tests with
python -m pytestorpython -m unittest discover - Test file naming:
test_*.py
- Branch naming:
fix/issue-N-description,feat/issue-N-description - Commit style:
Fix #N: descriptionorFeat #N: description
- Never commit secrets or API keys
- Never use
eval()orexec()on user input - Never ignore exceptions silently (no bare
except: pass) - Never push directly to
main— always use PRs