Skip to content
Snippets Groups Projects

generic-training-dataset

Fill base-worker cache with information about dataset and extract images

Development

For development and tests purpose it may be useful to install the worker as a editable package with pip.

pip3 install -e .

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

Run 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

Tests use an export from IAM | GT | DLA.