--- minimum_pre_commit_version: "3.2.0" # התיקיות והקבצים שצריך להתעלם מהם exclude: "^vscode/|^example/" repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: end-of-file-fixer stages: [commit] - id: trailing-whitespace args: ["--markdown-linebreak-ext=md"] stages: [commit] - id: forbid-new-submodules stages: [commit] - id: sort-simple-yaml stages: [commit] - id: check-xml stages: [commit] - id: check-byte-order-marker stages: [commit] - id: check-case-conflict stages: [commit] - id: check-docstring-first stages: [commit] - id: check-executables-have-shebangs stages: [commit] - id: check-merge-conflict stages: [commit] - id: check-symlinks stages: [commit] - id: debug-statements stages: [commit] - id: detect-aws-credentials args: ["--allow-missing-credentials"] stages: [commit] - id: detect-private-key stages: [commit] - id: trailing-whitespace exclude: \.preseed$ # DISC: Yaml Files # - repo: https://github.com/adrienverge/yamllint rev: v1.32.0 hooks: - id: yamllint files: \.(yaml|yml)$ stages: [commit] ...