Installation¶
Prerequisites¶
Build¶
To build the project, run:
Linter and type checker¶
Use Ruff for linting and formatting:
Use Ty for type checking:
Use the check target to run both linter and type checker:
Tests¶
Use pytest to run the test suite:
Pre-commit hooks¶
Run the following command to install the pre-commit hook:
make setup
pre-commit install --config .github/hooks/.pre-commit-config.yaml --hook-type pre-commit --install-hooks --overwrite
This will ensure that your code adheres to the project's coding standards before each commit.