Developer Workflow¶
Too Long; Didn't Read¶
Contributing is easy.
- Start the server:
make dev-> go tohttp://localhost:3000 - Make changes
- Run tests:
make test - Run lints:
make format
That's it.
Quick Start:
make dev- Start the development servermake format- Lint and format both Python and JavaScript/TypeScriptmake formatpy- Lint and format Python codemake formatjs- Lint and format JavaScript/TypeScript code
make test- Run all unit testsmake testpy- Run Python unit testsmake testjs- Run JavaScript/TypeScript unit tests
Typical Development Workflow¶
-
Create a feature branch from
main -
Make your changes
- Write code following the code style guidelines
- Make incremental commits with clear messages
-
Write/update tests
- Add tests for new functionality
- Update existing tests if behavior changes
- Ensure tests are comprehensive and cover edge cases
-
Run tests
-
Format code
-
Submit a pull request
- Ensure all tests pass
- Update documentation if needed
- Write a clear PR description
- Reference any related issues
- Request review from maintainers
Testing¶
Python Tests¶
Frontend Tests¶
All Tests¶
Documentation¶
- Update relevant documentation when adding features
- Follow the existing documentation structure
- Use clear, concise language
Pull Request Process¶
- Ensure all tests pass
- Update documentation if needed
- Write a clear PR description
- Reference any related issues
- Request review from maintainers
Questions?¶
Feel free to open an issue for questions or discussions.