Python pre-commit

Open-source Python projects categorized as pre-commit Edit details

Top 12 Python pre-commit Projects

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    Project mention: Validating cloudFormation templates | | 2022-08-07
  • pre-commit-hooks

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

    Project mention: Gitlab CI with docker compose | | 2022-08-06

    repos: - repo: rev: v3.3.0 hooks: - id: check-yaml args: ["--allow-multiple-documents"] - repo: local hooks: - id: forbidden-files name: forbidden files entry: found copier update rejection files; review them and remove them language: fail files: "\\.rej$" - id: black name: black entry: poetry run black language: system types: [python] - id: flake8 name: flake8 entry: poetry run flake8 language: system types: [python] - id: isort name: isort entry: poetry run isort --settings-path=. language: system types: [python] - id: pyupgrade name: pyupgrade entry: poetry run pyupgrade language: system types: [python] args: [--py310-plus] - id: mypy name: mypy description: Check python types. entry: poetry run mypy language: system types: [python]

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • pyupgrade

    A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.

    Project mention: It’s Time to Say Goodbye to These Obsolete Python Libraries | | 2022-07-26

    Such goodness here and even points to an interesting project I’d never heard of for automated “de-deprecation”

  • reorder_python_imports

    Rewrites source to reorder python imports

    Project mention: Should I follow the warnings in Pycharm? Does anyone do this? | | 2022-07-18
  • nn-template

    Generic template to bootstrap your PyTorch project.

    Project mention: What libs/boiler plate/platforms do you use to abstract and optimize your workflow when starting a new project? [D] | | 2022-05-22

    If I was starting a new project, I’d like to try using this cookiecutter template:

  • autohooks

    Library for managing git hooks

    Project mention: Tool and library for managing git hooks: autohooks | | 2022-08-02

    Hi, I would like to introduce my pet project called autohooks. autohooks is a simple tool for managing git hooks. Currently it just supports `pre-commit` hook because that's what most people are interested in. But its infrastructure and code can easily be extend to support the other hooks like `commit-msg`. With the latest release it could a nice progress bar based on rich.

  • gjira

    Git hook for adding Jira issues and stories to commit body

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • pep585-upgrade

    Pre-commit hook for upgrading type hints

  • flake8-typing-imports

    flake8 plugin which checks that typing imports are properly guarded

  • check-jsonschema

    A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!

  • pushpin

    Git hooks for python 📌 (by nyanye)

    Project mention: pushpin - Git hooks for python 📌 | | 2022-06-10
  • version-checker

    pre-commit hook: make sure your package doesn't refer to different versions of itself across the codebase ✅ (by jalvaradosegura)

    Project mention: Don't forget to update that value in those files | | 2022-01-25

    # .pre-commit-config.yaml repos: - repo: rev: v0.4.1-alpha hooks: - id: version-checker args: [ --files,, src/, --grab-version-from, setup.cfg ]

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-07.

Python pre-commit related posts


What are some of the best open-source pre-commit projects in Python? This list will help you:

Project Stars
1 pre-commit 8,614
2 pre-commit-hooks 3,215
3 pyupgrade 1,893
4 reorder_python_imports 506
5 nn-template 485
6 autohooks 153
7 gjira 73
8 pep585-upgrade 47
9 flake8-typing-imports 46
10 check-jsonschema 39
11 pushpin 2
12 version-checker 1
Find remote jobs at our new job board There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives