pre-commit-hooks

This project provides a variety of ready-to-use hooks for the pre-commit tool. Prevents large files added to storage, oversees the validity of Python files and embedded type syntax. It also performs syntax verification of JSON, TOML, XML and YAML files.

PR

pre-commit · Code Quality & Review

STARS6.7K
FORKS800
COMMITS0
CONTRIBUTORS0
VERSIONv6.0.0
UPDATED10 days ago
pythonpre-commitgit-hooksCode QualityMIT

Common commercial products in this category: SonarCloud, Codacy, DeepSource

What can it do?
  • You prevent large files from being repoed.
  • You detect debugging phrases and invalid syntax in Python files.
  • You make syntax verifications of JSON, TOML, XML and YAML files.
User reviews
  • • NeutralGitHub Issue

    How do we check whether a commit message has a prefix?

    “How do we check whether a commit message has a prefix e.g. JIRA-XXXXX ? Thanks”

  • • NeutralGitHub Issue

    No support for pycodestyle

    “flake8 was officialy deprecated and mostly replaced by pycodestyle which is currently does not have a pre-commit-hook. Initially I was considering repurposing the flake8 hook but I think it will be better to have a new one as doing the swap may also involve renaming its section…”

GitHub

My note

Alternative pages

More in: Code Quality & Review