Setting Up Pre-Commit Hooks in GitHub: Ensuring Code Quality and Consistency

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • black

    The uncompromising Python code formatter

  • repos: - repo: https://github.com/psf/black rev: hooks: - id: black

  • pre-commit-hooks

    Some out-of-the-box hooks for pre-commit

  • repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: hooks: - id: check-json

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mirrors-prettier

    Discontinued mirror of the `prettier` npm package for pre-commit

  • repos: - repo: https://github.com/pre-commit/mirrors-prettier rev: hooks: - id: prettier files: \.(json|markdown|md|yaml|yml)$

  • pylint

    Discontinued It's not just a linter that annoys you! [Moved to: https://github.com/pylint-dev/pylint] (by PyCQA)

  • repos: - repo: https://github.com/PyCQA/pylint rev: hooks: - id: pylint name: pylint entry: pylint language: system types: [python] env: PYTHONPATH: "./"

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts