djgoku / hooks

Pre-commit hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hooks

Pre-commit hooks

Using pre-commit-hooks with pre-commit

Add this to your .pre-commit-config.yaml

- repo: https://github.com/djgoku/hooks
  rev: v0.1.0  # Use the ref you want to point at
  hooks:
    - id: bats
      args: ["bats/tests"]
    # - id: ...

Hooks available

bats

Requires ~bats~ to be installed.

Run Bash Automated Testing System (bats) tests.

  • Specify the bats testing folder with args: ["bats/tests"].

About

Pre-commit hooks


Languages

Language:Earthly 94.5%Language:Shell 5.5%