- This project uses
docker composefor the development environment. - The development stack can be started using
docker compose up --build --detach.
- Use
one,onlyorfirstfrommore_itertoolsinstead of[0].
- Write integration tests instead of unit tests, and avoid using mocks.
- Use fixtures from
tests/conftest.pywhen writing tests. Feel free to extendconftest.pywith anything that's missing. - Use the
empty_dbfixture, rather than thefixture_db. - Never run
pytestdirectly. Always usedocker compose exec mo pytest tests/...to run tests. Start the development stack first, if needed. - Never run all tests; it takes too long. Only run relevant tests.
- Branch names should include a ticket number, e.g.
69176-related-owner. - Make sure
pre-commit run --all-filespasses before committing. - Commits must adhere to the conventional commits style and include a ticket
number, e.g.:
feat: [#68002] allow reading connected addresses through an engagement.fix: [#68002] don't sleep when no events.