Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pre-commit/pre-commit
A framework for managing and maintaining multi-language pre-commit hooks.
https://github.com/pre-commit/pre-commit
git linter pre-commit python refactoring
Last synced: 6 days ago
JSON representation
A framework for managing and maintaining multi-language pre-commit hooks.
- Host: GitHub
- URL: https://github.com/pre-commit/pre-commit
- Owner: pre-commit
- License: mit
- Created: 2014-03-13T00:39:38.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-12-28T21:16:55.000Z (15 days ago)
- Last Synced: 2025-01-05T00:33:14.823Z (8 days ago)
- Topics: git, linter, pre-commit, python, refactoring
- Language: Python
- Homepage: https://pre-commit.com
- Size: 4.12 MB
- Stars: 13,171
- Watchers: 91
- Forks: 834
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- stars - pre-commit/pre-commit - language pre-commit hooks. (HarmonyOS / Windows Manager)
- awesome-git-hooks - pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Tools / update)
- my-awesome-starred - pre-commit/pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- awesome-repositories - pre-commit/pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- django-awesome - x
- awesome-git-hooks - pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Tools)
- awesome - pre-commit/pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- best-of-python-dev - GitHub - 1% open · ⏱️ 27.05.2024): (Others)
- awesome-python-applications - Repo - commit.com/), [PyPI](https://pypi.org/project/pre-commit)) A framework for managing and maintaining multi-language git hooks. `(linux, windows, mac)` (<a id="tag-dev" href="#tag-dev">Dev</a> / <a id="tag-dev-other" href="#tag-dev-other">Other Dev projects</a>)
- starred-awesome - pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- awesome-projects - precommit
- my-awesome - pre-commit/pre-commit - commit,python,refactoring pushed_at:2024-12 star:13.2k fork:0.8k A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- jimsghstars - pre-commit/pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (Python)
- stars - pre-commit - language pre-commit hooks. | pre-commit | 13201 | (Python)
- StarryDivineSky - pre-commit/pre-commit - commit hook 的框架。Git 钩子脚本可用于在提交代码审查之前识别简单问题。我们在每次提交时都运行钩子,以自动指出代码中的问题,例如缺少分号、尾随空格和 debug 语句。通过在代码审查之前指出这些问题,这允许代码审查者专注于更改的架构,而不会浪费时间在琐碎的风格吹毛求疵上。随着我们创建更多的库和项目,我们认识到在项目之间共享我们的 pre-commit 钩子是很痛苦的。我们从一个项目复制并粘贴了笨拙的 bash 脚本,并且必须手动更改钩子以适用于不同的项目结构。我们认为您应该始终使用最好的行业标准 Linter。一些最好的 Linter 是用您在项目中未使用的语言编写的,或者您计算机上没有安装的语言。例如,scss-lint 是用 Ruby 编写的 SCSS 的 Linter。如果您在 Node 中编写项目,您应该能够将 scss-lint 用作预提交钩子,而无需将 Gemfile 添加到您的项目或了解如何安装 scss-lint。我们构建了 pre-commit 来解决我们的 hook 问题。它是一个用于 pre-commit 钩子的多语言包管理器。你指定一个你想要的钩子列表,pre-commit 在每次提交之前管理用任何语言编写的任何钩子的安装和执行。pre-commit 经过专门设计,不需要 root 访问权限。如果你的某个开发人员没有安装 node,但修改了 JavaScript 文件,pre-commit 会自动处理下载和构建 node 以在没有 root 的情况下运行 eslint。 (网络服务 / 网络服务_其他)
- awesomeLibrary - pre-commit - A framework for managing and maintaining multi-language pre-commit hooks. (语言资源库 / python)
- stars - pre-commit - language pre-commit hooks. | pre-commit | 13068 | (Python)
README
[![build status](https://github.com/pre-commit/pre-commit/actions/workflows/main.yml/badge.svg)](https://github.com/pre-commit/pre-commit/actions/workflows/main.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/pre-commit/main.svg)](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit/main)## pre-commit
A framework for managing and maintaining multi-language pre-commit hooks.
For more information see: https://pre-commit.com/