Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (34 loc) · 620 Bytes

DEVELOPMENT.md

File metadata and controls

50 lines (34 loc) · 620 Bytes

Quickstart

Create a virtualenv for development:

python -m venv venv
./venv/bin/activate

Install development requirements:

./hack/update-deps

To generate a new project run:

bazel run //tools:bootstrap -- bentoml-monitoring-handler --parent-dir monitoring

To see bootstrap flags use:

bazel run //tools:bootstrap -- --help

To run a test:

bazel test //path/to/project/tests:package.native

Get all test queries:

bazel query 'kind(py_test, tests(//...))'

To run formatter:

./hack/format

To run lint:

./hack/lint