this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some more checks to pre-commit

+25 -4
+22 -4
.config/yadm/.pre-commit-config.yaml
··· 5 5 - id: check-useless-excludes 6 6 7 7 - repo: https://github.com/pre-commit/pre-commit-hooks 8 - rev: v3.2.0 8 + rev: v4.6.0 9 9 hooks: 10 - - id: trailing-whitespace 11 - - id: end-of-file-fixer 12 - - id: check-yaml 13 10 - id: check-added-large-files 11 + args: [--enforce-all] 12 + - id: check-ast 13 + - id: check-case-conflict 14 + - id: check-executables-have-shebangs 15 + - id: check-json 16 + - id: check-merge-conflict 17 + - id: check-shebang-scripts-are-executable 18 + - id: check-symlinks 19 + - id: check-toml 20 + - id: check-vcs-permalinks 21 + - id: check-yaml 22 + - id: check-yaml 23 + - id: detect-private-key 24 + - id: end-of-file-fixer 25 + - id: trailing-whitespace 14 26 15 27 - repo: https://github.com/JohnnyMorganz/StyLua 16 28 rev: v0.20.0 ··· 31 43 rev: v8.16.1 32 44 hooks: 33 45 - id: gitleaks 46 + 47 + - repo: https://github.com/hugoh/pre-commit-fish.git 48 + rev: v1.2 49 + hooks: 50 + - id: fish_syntax 51 + - id: fish_indent
+3
.config/yadm/hooks/pre_commit
··· 21 21 hooks/pre-commit.pyz run --show-diff-on-failure --config .pre-commit-config.yaml || exit $? 22 22 unset GIT_DIR GIT_WORKTREE 23 23 24 + # TODO: Convert the remainder of this stuff to pre-commit, if feasible. For brew, 25 + # maybe just switch to nix instead and do a `darwin-rebuild check` or something 26 + 24 27 # shellcheck source=../utils.sh 25 28 source utils.sh 26 29