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 @@ -25,7 +25,7 @@ ci-install:
2525 $(UV_SYNC_CMD ) --frozen --group $(SDK_DEPS_GROUP )
2626
2727.PHONY : lint
28- lint : lint-python lint-gh-actions # TODO: Add mbake
28+ lint : lint-python lint-gh-actions lint-makefile
2929
3030.PHONY : lint-gh-actions
3131lint-gh-actions :
@@ -37,8 +37,12 @@ lint-python:
3737 $(UV_RUN_CMD ) ruff format
3838 $(UV_RUN_CMD ) basedpyright
3939
40+ .PHONY : lint-makefile
41+ lint-makefile :
42+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml Makefile docs/Makefile
43+
4044.PHONY : ci-lint
41- ci-lint : ci-lint-python ci-lint-gh-actions # TODO: Add mbake
45+ ci-lint : ci-lint-python ci-lint-gh-actions ci-lint-makefile
4246
4347.PHONY : ci-lint-gh-actions
4448ci-lint-gh-actions :
@@ -50,6 +54,16 @@ ci-lint-python:
5054 $(UV_RUN_CMD ) ruff format --check
5155 $(UV_RUN_CMD ) basedpyright
5256
57+ .PHONY : ci-lint-makefile
58+ ci-lint-makefile :
59+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml --check Makefile docs/Makefile
60+ $(UV_RUN_CMD ) mbake validate --config ./.bake.toml Makefile docs/Makefile
61+
62+ .PHONY : ci-lint-makefile
63+ ci-lint-makefile :
64+ $(UV_RUN_CMD ) mbake format --config ./.bake.toml --check Makefile docs/Makefile
65+ $(UV_RUN_CMD ) mbake validate --config ./.bake.toml Makefile docs/Makefile
66+
5367.PHONY : clean
5468clean :
5569 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