- Avoid adding external dependencies.
- Follow
PEP8style guide. - Always prefer dependency injection.
- Always prefer generalized implementation; avoid split logic that depends on a specific model.
- Always lint and format files after creating or modifying.
- Always follow TDD principals.
- Cover success, failure, and edge cases.
- Always follow pytest patterns, not
unittest.TestCase.
- Follow
Google Python Style Guidefor docstrings. - Write documentation using Sphinx ReStructuredText.
- User documentation should answer what and how.
- Developer documentation should answer why and how.
- Use Conventional Commits standard for PR titles, and commit messages.