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