File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ lefthook = "latest"
44yamllint = " latest"
55actionlint = " latest"
66shellcheck = " latest"
7+ markdownlint-cli2 = ' latest'
Original file line number Diff line number Diff line change 1+ # Refer for explanation to following link:
2+ # https://lefthook.dev/configuration/
13pre-commit :
4+ parallel : true
25 jobs :
6+ - name : markdown linting
7+ run : markdownlint-cli2 --fix --config .markdownlint.json {staged_files}
8+ glob :
9+ - " *.md"
10+ exclude :
11+ - .github/pull_request_template.md
12+ stage_fixed : true
313 - name : yaml linting
414 run : yamllint -c .yamllint-config.yaml .
515 glob : " *.y*ml"
616 - name : Github Action linting
717 run : actionlint
8- include :
18+ glob :
919 - " .github/workflows/*.y*ml"
1020 - name : Ruff Formatting
1121 run : uv run ruff format -q .
12- glob : " *.py"
22+ glob :
23+ - " *.py"
24+ stage_fixed : true
1325 - name : Ruff Syntax checking
1426 run : uv run ruff check --fix -q
15- glob : " *.py"
27+ glob :
28+ - " *.py"
29+ stage_fixed : true
1630 - name : MyPy type validation
1731 run : uv run mypy .
18- glob : " *.py"
32+ glob :
33+ - " *.py"
34+
35+ output :
36+ - success
37+ - failure
38+ - summary
You can’t perform that action at this time.
0 commit comments