this repo has no description
0
fork

Configure Feed

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

First check-in of pre-commit as executable

+43 -12
+33
.config/yadm/.pre-commit-config.yaml
··· 1 + repos: 2 + - repo: meta 3 + hooks: 4 + - id: check-hooks-apply 5 + - id: check-useless-excludes 6 + 7 + - repo: https://github.com/pre-commit/pre-commit-hooks 8 + rev: v3.2.0 9 + hooks: 10 + - id: trailing-whitespace 11 + - id: end-of-file-fixer 12 + - id: check-yaml 13 + - id: check-added-large-files 14 + 15 + - repo: https://github.com/JohnnyMorganz/StyLua 16 + rev: v0.20.0 17 + hooks: 18 + - id: stylua 19 + 20 + - repo: https://github.com/shellcheck-py/shellcheck-py 21 + rev: v0.10.0.1 22 + hooks: 23 + - id: shellcheck 24 + args: [--external-sources, --source-path=SCRIPTDIR] 25 + types: 26 + - shell 27 + exclude_types: 28 + - pyz 29 + 30 + - repo: https://github.com/gitleaks/gitleaks 31 + rev: v8.16.1 32 + hooks: 33 + - id: gitleaks
+3
.config/yadm/hooks/pre-commit.pyz
··· 1 + version https://git-lfs.github.com/spec/v1 2 + oid sha256:a0349324f0f53b08d00eb473b5f6646c8a07f3253703c09b977b0b9b9476d486 3 + size 5796545
+6 -12
.config/yadm/hooks/pre_commit
··· 15 15 exit 0 16 16 fi 17 17 18 + export GIT_DIR="$YADM_HOOK_REPO" 19 + export GIT_WORKTREE="$YADM_HOOK_WORK" 20 + 21 + hooks/pre-commit.pyz run --show-diff-on-failure --config .pre-commit-config.yaml || exit $? 22 + unset GIT_DIR GIT_WORKTREE 23 + 18 24 # shellcheck source=../utils.sh 19 25 source utils.sh 20 26 ··· 31 37 cached_arg="--cached" 32 38 fi 33 39 CHANGED_FILES=$(yadm diff $cached_arg --name-only --diff-filter=ACM) 34 - 35 - if command -v shellcheck >/dev/null; then 36 - SHELLCHECK_SOURCES=( 37 - bootstrap 38 - utils.sh 39 - hooks/* 40 - ) 41 - 42 - if ! shellcheck --source-path=SCRIPTDIR "${SHELLCHECK_SOURCES[@]}"; then 43 - exit_with_error "Some files failed the shellcheck linter!" 44 - fi 45 - fi 46 40 47 41 if grep --quiet Brewfile <(echo "$CHANGED_FILES") && command -v brew >/dev/null; then 48 42 # A little faster if we don't have to wait for auto-update
+1
.gitattributes
··· 3 3 4 4 **/lghub/settings.db diff=sqlite3 5 5 **/lghub/settings.db merge=keepTheir 6 + *.pyz filter=lfs diff=lfs merge=lfs -text