Development

YOLO uses different tools during its development.

Linter

Code syntax is analyzed before submitting the code.

To run the linter tools suite you may use pre-commit.

pip install pre-commit
pre-commit run -a

Tests

Unit tests

Tests are executed with tox using pytest.

pip install tox
tox

To recreate tox virtual environment (e.g. a dependencies update), you may run tox -r.

Documentation

This documentation is generated using Antora.

Setup

Install the docs dependencies :

npm install

Build the documentation using make antora. You can then write in Asciidoc in the relevant docs/*.adoc files, and use a small python server to see output from public/ using python -m http.server.