Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.12 KB

BUILD.md

File metadata and controls

55 lines (36 loc) · 1.12 KB

How to build and test ydb-python-sdk

This document has detailed instructions on how to build ydb-python-sdk from source and run style and unit tests.

Pre-requisites

Clone the repository

git clone https://github.com/ydb-platform/ydb-python-sdk

Run style tests

Use the command below to prepare virtualenv and to run style tests using flake8.

tox -estyle

Run formatting checks

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

Run unit tests

Use the command below to run unit tests.

tox -epy38

Regenerate protobuf

Use the command below for regenerate protobuf code.

make protobuf