File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # mbake configuration file
2+ # Generated with: mbake init
3+
4+ # Global settings
5+ debug = false
6+ verbose = false
7+
8+ # Error message formatting
9+ gnu_error_format = true
10+ wrap_error_messages = false
11+
12+ [formatter ]
13+ # Spacing settings - enable proper spacing
14+ space_around_assignment = true
15+ space_before_colon = false
16+ space_after_colon = true
17+
18+ # Line continuation settings
19+ normalize_line_continuations = true
20+ max_line_length = 100
21+
22+ # PHONY settings
23+ auto_insert_phony_declarations = true
24+ group_phony_declarations = false
25+ phony_at_top = false
26+
27+ # General settings - enable proper formatting
28+ remove_trailing_whitespace = true
29+ ensure_final_newline = true
30+ normalize_empty_lines = true
31+ max_consecutive_empty_lines = 2
32+ fix_missing_recipe_tabs = true
33+
34+ # Conditional formatting settings (Default disabled)
35+ indent_nested_conditionals = false
36+ # Indentation settings
37+ tab_width = 2
38+
39+ # Variable alignment settings
40+ align_variable_assignments = false
41+ align_across_comments = false
Original file line number Diff line number Diff line change @@ -22,24 +22,33 @@ ci-install:
2222
2323UV_RUN_CMD := uv run --frozen --no-config
2424.PHONY : lint
25- lint : lint-python # TODO: Add mbake
25+ lint : lint-python lint-makefile
2626
2727.PHONY : lint-python
2828lint-python :
2929 $(UV_RUN_CMD ) basedpyright
3030# $(UV_RUN_CMD) ruff check --fix-only
3131 $(UV_RUN_CMD) ruff format
3232
33+ .PHONY : lint-makefile
34+ lint-makefile :
35+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml Makefile docs/Makefile
36+
3337UV_RUN_CMD := uv run --frozen --no-config
3438.PHONY : ci-lint
35- ci-lint : ci-lint-python # TODO: Add mbake
39+ ci-lint : ci-lint-python ci-lint-makefile
3640
3741.PHONY : ci-lint-python
3842ci-lint-python :
3943 $(UV_RUN_CMD ) basedpyright
4044# $(UV_RUN_CMD) ruff check
4145 $(UV_RUN_CMD) ruff format --check
4246
47+ .PHONY : ci-lint-makefile
48+ ci-lint-makefile :
49+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml --check Makefile docs/Makefile
50+ $(UV_RUN_CMD ) mbake validate --config ./.bake.toml Makefile docs/Makefile
51+
4352.PHONY : clean
4453clean :
4554 rm -rf ./build ./dist ./.venv ./.ruff_cache ./.pytest_cache ./splunk_sdk.egg-info ./__pycache__ ./** /__pycache__
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments