-
-
Notifications
You must be signed in to change notification settings - Fork 526
feat: Add bmake pre-commit hook #3998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6804118
12b50cb
03a88b1
b563223
29d03fe
9a1a8a2
1df5a94
6a10c28
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # mbake configuration file | ||
|
|
||
| debug = false | ||
| gnu_error_format = true | ||
| verbose = false | ||
| wrap_error_messages = false | ||
|
|
||
| [formatter] | ||
| align_across_comments = false | ||
| align_variable_assignments = false | ||
| auto_insert_phony_declarations = false | ||
| ensure_final_newline = true | ||
| fix_missing_recipe_tabs = true | ||
| group_phony_declarations = false | ||
| indent_nested_conditionals = false | ||
| max_consecutive_empty_lines = 2 | ||
| max_line_length = 120 | ||
| normalize_empty_lines = true | ||
| normalize_line_continuations = true | ||
| phony_at_top = false | ||
| remove_trailing_whitespace = true | ||
| space_after_colon = true | ||
| space_around_assignment = true | ||
| space_before_colon = false | ||
| tab_width = 2 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,17 @@ | ||
| repos: | ||
| - repo: https://github.com/EbodShojaei/bake | ||
| rev: v1.4.5 | ||
|
Comment on lines
+2
to
+3
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Supply chain risk: personal repository pinned by mutable tag, not by commit SHA.
Recommend pinning to the specific commit SHA that corresponds to 🔒 Proposed fix: pin to commit SHA - repo: https://github.com/EbodShojaei/bake
- rev: v1.4.5
+ rev: <full-40-char-SHA-of-v1.4.5-tag> # v1.4.5Retrieve the SHA with: git ls-remote https://github.com/EbodShojaei/bake refs/tags/v1.4.5🤖 Prompt for AI Agents |
||
| hooks: | ||
| - id: mbake-format | ||
| args: | ||
| - --config | ||
| - .bake.toml | ||
| - id: mbake-validate | ||
| args: | ||
| - --config | ||
| - .bake.toml | ||
| exclude: ^backend/ | ||
|
|
||
| - repo: https://github.com/adrienverge/yamllint.git | ||
| rev: v1.38.0 | ||
| hooks: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.