Skip to content

Instantly share code, notes, and snippets.

@jijosg
Created November 29, 2022 08:02
Show Gist options
  • Save jijosg/0788055b7430059963f3f8c0a4e33f0d to your computer and use it in GitHub Desktop.
Save jijosg/0788055b7430059963f3f8c0a4e33f0d to your computer and use it in GitHub Desktop.
Pre commit config yaml
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-symlinks
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
# rev: 1.11.0
# hooks:
# - id: shellcheck
# - id: shfmt
- repo: git://github.com/detailyang/pre-commit-shell
rev: 1.0.4
hooks:
- id: shell-lint
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4.4
hooks:
- id: autopep8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment