databricks-cli/experimental/python/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
388 B
Makefile
Raw Normal View History

2025-03-06 16:27:57 +00:00
sources = databricks databricks_tests
fmt:
uv run ruff check --fix $(sources) || true
uv run ruff format
lint:
# check if lock matches the project metadata
uv lock --check
uv run ruff check $(sources)
uv run pyright
uv run ruff format --diff
test:
uv run python -m pytest databricks_tests --cov=databricks.bundles --cov-report html -vv
build:
rm -rf build dist
uv build .