A curated collection of pre-commit hooks to automate code linting, formatting, and security checks.

🏗️ Work in Progress...

If interested, bookmark this page!

General Housekeeping

Pre-commit Hooks

link

Basic hooks to maintain file integrity across different environments.

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v6.0.0
    hooks:
      - id: check-yaml
        args: ['--allow-multiple-documents']
      - id: end-of-file-fixer
      - id: trailing-whitespace

Secret Detection

link

Prevents accidental commits of sensitive information (API keys, tokens).

repos:
  - repo: https://github.com/Yelp/detect-secrets
    rev: v1.5.0
    hooks:
      - id: detect-secrets
        args: ['--baseline', '.secrets.baseline']

Conventional Commits

link

Enforces standardized commit messages to ensure the repository history remains readable and compatible with automated changelog tools.

repos:
  - repo: https://github.com/commitizen-tools/commitizen
    rev: v4.11.1
    hooks:
      - id: commitizen

Python

Coming soon…