gvatsal60/github-test
0
1repos:2 # Syncs pre-commit dependencies with the latest versions.3 - repo: https://github.com/mxr/sync-pre-commit-deps4 rev: "v0.0.5"5 hooks:6 - id: sync-pre-commit-deps7 # Pre-commit hooks for general file checks8 - repo: https://github.com/pre-commit/pre-commit-hooks9 rev: "v6.0.0"10 hooks:11 - id: check-added-large-files12 - id: check-ast13 - id: check-builtin-literals14 - id: check-case-conflict15 - id: check-docstring-first16 - id: check-executables-have-shebangs17 - id: check-json18 exclude: '\.ipynb$' # Exclude Jupyter notebooks19 - id: check-merge-conflict20 - id: check-shebang-scripts-are-executable21 - id: check-symlinks22 - id: check-toml23 - id: check-vcs-permalinks24 - id: check-yaml25 - id: debug-statements26 - id: destroyed-symlinks27 - id: detect-private-key28 - id: end-of-file-fixer29 - id: fix-byte-order-marker30 - id: mixed-line-ending31 - id: name-tests-test32 - id: pretty-format-json33 args: [--autofix]34 exclude: '\.ipynb$' # Exclude Jupyter notebooks35 - id: requirements-txt-fixer36 - id: trailing-whitespace37 # Uses pygrep to enforce Python type annotations.38 - repo: https://github.com/pre-commit/pygrep-hooks39 rev: "v1.10.0"40 hooks:41 - id: python-use-type-annotations42 # Runs mypy to check Python type annotations.43 - repo: https://github.com/pre-commit/mirrors-mypy44 rev: "v2.4.0"45 hooks:46 - id: mypy47 # shfmt hook for formatting shell scripts48 - repo: https://github.com/scop/pre-commit-shfmt49 rev: v3.14.1-150 hooks:51 - id: shfmt52 name: shfmt53 description: This hook runs shfmt for formatting shell scripts54 args: ['-i', '4']55 # ShellCheck hook for linting shell scripts56 - repo: https://github.com/shellcheck-py/shellcheck-py57 rev: "v0.11.0.1-1"58 hooks:59 - id: shellcheck60 name: shellcheck61 description: This hook runs shellcheck for linting shell scripts62 # Bashate hook for linting shell scripts63 - repo: https://github.com/openstack/bashate64 rev: "2.1.1"65 hooks:66 - id: bashate67 name: bashate68 description: This hook runs bashate for linting shell scripts69 entry: bashate70 language: python71 types: [shell]72 # Actionlint for linting GitHub Actions YAML files73 - repo: https://github.com/rhysd/actionlint74 rev: "v1.7.12"75 hooks:76 - id: actionlint77 # Yamlfmt for formatting YAML files78 - repo: https://github.com/google/yamlfmt79 rev: "v0.21.0"80 hooks:81 - id: yamlfmt82 # Codespell for detecting common misspellings in code83 - repo: https://github.com/codespell-project/codespell84 rev: "v2.4.3"85 hooks:86 - id: codespell87 # Checkmake for linting Makefiles88 - repo: https://github.com/mrtazz/checkmake89 rev: "v0.3.0"90 hooks:91 - id: checkmake92 # Gitleaks for detecting secrets in Git repositories93 - repo: https://github.com/gitleaks/gitleaks94 rev: "v8.30.0"95 hooks:96 - id: gitleaks97 # Talisman for pre-commit Git hooks to detect sensitive files98 - repo: https://github.com/thoughtworks/talisman99 rev: "v1.37.0"100 hooks:101 - id: talisman-commit102 entry: cmd --githook pre-commit103 # Markdownlint for linting Markdown files104 - repo: https://github.com/DavidAnson/markdownlint-cli2105 rev: v0.23.3106 hooks:107 - id: markdownlint-cli2108 args: [--fix]109 