Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(.precommit): Add shellcheck #453

Merged
merged 1 commit into from
Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 83 additions & 79 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,82 +1,86 @@
exclude: ^hack|^ui
fail_fast: true
repos:
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.1
- hooks:
- id: check-useless-excludes
repo: meta
- hooks:
- files: \.(css|js|md|markdown|json)
id: prettier
repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
- hooks:
- id: seed-isort-config
repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
- hooks:
- id: isort
repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
- hooks:
- id: black
repo: https://github.com/python/black
rev: 22.3.0
- hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
- id: debug-statements
- id: check-xml
- args:
- --unsafe
id: check-yaml
- id: end-of-file-fixer
- id: forbid-new-submodules
- args:
- --branch
- gh-pages
id: no-commit-to-branch
- id: requirements-txt-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- id: mixed-line-ending
- id: detect-private-key
- id: check-byte-order-marker
- id: check-docstring-first
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
- hooks:
- id: flake8
repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- hooks:
- additional_dependencies:
- mvdan.cc/sh/v3/cmd/[email protected]
args:
- -w
- -i
- '4'
- -s
entry: shfmt
id: shfmt
language: golang
minimum_pre_commit_version: 2.4.0
name: shfmt
types:
- shell
repo: local
- hooks:
- id: blacken-docs
repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.1
- hooks:
- id: check-useless-excludes
repo: meta
- hooks:
- files: \.(css|js|md|markdown|json)
id: prettier
repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
- hooks:
- id: seed-isort-config
repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
- hooks:
- id: isort
repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
- hooks:
- id: black
repo: https://github.com/python/black
rev: 22.6.0
- hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
- id: debug-statements
- id: check-xml
- args:
- --unsafe
id: check-yaml
- id: end-of-file-fixer
- id: forbid-new-submodules
- args:
- --branch
- gh-pages
id: no-commit-to-branch
- id: requirements-txt-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- id: mixed-line-ending
- id: detect-private-key
- id: check-byte-order-marker
- id: check-docstring-first
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
- hooks:
- id: flake8
repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- hooks:
- additional_dependencies:
- mvdan.cc/sh/v3/cmd/[email protected]
args:
- -w
- -i
- "4"
- -s
entry: shfmt
id: shfmt
language: golang
minimum_pre_commit_version: 2.4.0
name: shfmt
types:
- shell
repo: local
- hooks:
- id: blacken-docs
repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.17
hooks:
- id: shellcheck