This document has detailed instructions on how to build ydb-python-sdk from source and run style and unit tests.
git clone https://github.com/ydb-platform/ydb-python-sdk
Use the command below to prepare virtualenv
and to run style tests using flake8
.
tox -estyle
Use the command below to prepare virtualenv
and to run style tests using black
.
See documentation about Black project.
tox -eblack
To automatically format code using the black
formatting style, use the command below.
tox -eblack-format
Use the command below to run unit tests.
tox -epy38
Use the command below for regenerate protobuf code.
make protobuf