pre-commit
Here are 411 public repositories matching this topic...
A framework for managing and maintaining multi-language pre-commit hooks.
-
Updated
Apr 17, 2022 - Python
Some out-of-the-box hooks for pre-commit
-
Updated
Apr 11, 2022 - Python
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
-
Updated
Apr 11, 2022 - Python
Is your feature request related to a problem? Please describe.
As per #228 the interactive mode did not work properly for Windows. It rendered Windows unusable, whether the feature was turned on or not.
Describe the solution you'd like
The interactive mode helps people an assisted way to enter contents to ignore through an interactive shell.
This needs to be exactly same for Windows,
I get the following errror
ENOENT: no such file or directory, open '/Users/niklaas/git/abc/def/.git/worktrees/<name of worktree>/hooks/pre-commit'
when running npx simple-pre-commit inside a git worktree.
Is there a how-to guide to write my own tool? I want to do some conditional stripping/modifying (e.g. insert a Python script into a cell) for a Kaggle notebook. I've been playing around for an hour and I've sort-of-got a tool working, but I can't get nbqa to pass in anything I can read. In my code sys.argv has the original Notebook filename and if I rewrite that, nbqa throws an exception.k
Python best practices project cookiecutter
-
Updated
Jan 6, 2022 - Python
Rewrites source to reorder python imports
-
Updated
Apr 11, 2022 - Python
Generic template to bootstrap your PyTorch project.
-
Updated
Mar 8, 2022 - Python
Run `black` on python code blocks in documentation files
-
Updated
Apr 11, 2022 - Python
Git hooks made easy with Husky.Net internal task runner!
-
Updated
Mar 10, 2022 - C#
A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.
-
Updated
Apr 17, 2022 - Python
Example repo to demonstrate use of `lint-staged` with multi-pkg projects
-
Updated
Apr 10, 2022 - JavaScript
Seamless integration of https://pre-commit.com git hooks with Nix.
-
Updated
Apr 16, 2022 - Nix
A tool to manage and run project git hooks
-
Updated
Apr 26, 2019 - JavaScript
-
Updated
Apr 14, 2022 - Python
Library for managing git hooks
-
Updated
Apr 11, 2022 - Python
CommonMark compliant Markdown formatter
-
Updated
Apr 11, 2022 - Python
A set of useful (and documented!) git pre-commit hooks.
-
Updated
Sep 10, 2017 - Shell
Git hook for adding Jira issues and stories to commit body
-
Updated
Apr 9, 2021 - Python
Statically populate the `known_third_party` `isort` setting.
-
Updated
Aug 10, 2020 - Python
Improve this page
Add a description, image, and links to the pre-commit topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pre-commit topic, visit your repo's landing page and select "manage topics."


There is a utility called
terrafmtthat can be used to check and fix the formating of Terraform snippets embedded into usage sections in README.How could pre-commit-terraform help solve your problem?
It would be great to have native support as a pre-commit hook.