See instruction for specifications.
It is recommended to use asdf to manage the versions of the used languages, including Python and Node.js. See .tool-versions for the versions used in this project.
Install Python 3.10 or later.
Install Poetry 1.3.2 or later. See Poetry's documentation for details.
Install the project's dependencies:
poetry install --no-root
Since the pre-commit hooks require Node.js, you need to install it. See documentation for details.
Install pre-commit hooks:
poetry run pre-commit install
Activate the virtual environment:
poetry shell
poetry run pytest
If you found Could not load the qt platform plugin "xcb" in "" even though it
error, see
this
for details.