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-sdkUse the command below to prepare virtualenv and to run style tests using flake8.
tox -e styleUse the command below to prepare virtualenv and to run style tests using black.
See documentation about Black project.
tox -e blackTo automatically format code using the black formatting style, use the command below.
tox -e black-formatUse the command below to run unit tests.
tox -e py -- ydbUse the command below to run integration tests.
tox -e py -- testsUse the command below for regenerate protobuf code.
make protobuf