File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,30 +16,35 @@ upgrade:
1616
1717# Workaround for make being unable to pass arguments to underlying cmd
1818# $ SDK_DEPS_GROUP="build" make uv-sync-ci
19- .PHONY : ci-install
20- ci-install :
21- uv sync --locked --group $(SDK_DEPS_GROUP )
22-
2319UV_RUN_CMD := uv run --frozen --no-config
2420.PHONY : lint
25- lint : lint-python # TODO: Add mbake
21+ lint : lint-python lint-makefile
2622
2723.PHONY : lint-python
2824lint-python :
2925 $(UV_RUN_CMD ) basedpyright
3026 $(UV_RUN_CMD ) ruff check --fix
3127 $(UV_RUN_CMD ) ruff format
3228
29+ .PHONY : lint-makefile
30+ lint-makefile :
31+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml Makefile docs/Makefile
32+
3333UV_RUN_CMD := uv run --frozen --no-config
3434.PHONY : ci-lint
35- ci-lint : ci-lint-python # TODO: Add mbake
35+ ci-lint : ci-lint-python ci-lint-makefile
3636
3737.PHONY : ci-lint-python
3838ci-lint-python :
3939 $(UV_RUN_CMD ) basedpyright
4040 $(UV_RUN_CMD ) ruff check --fix-only
4141 $(UV_RUN_CMD ) ruff format --diff
4242
43+ .PHONY : ci-lint-makefile
44+ ci-lint-makefile :
45+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml --check Makefile docs/Makefile
46+ $(UV_RUN_CMD ) mbake validate --config ./.bake.toml Makefile docs/Makefile
47+
4348.PHONY : clean
4449clean :
4550 rm -rf ./build ./dist ./.venv ./.ruff_cache ./.pytest_cache ./splunk_sdk.egg-info ./__pycache__ ./** /__pycache__
You can’t perform that action at this time.
0 commit comments