pre-commit
Here are 406 public repositories matching this topic...
-
Updated
Mar 5, 2022 - Python
-
Updated
Mar 1, 2022 - Python
-
Updated
Feb 21, 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.
-
Updated
Jan 6, 2022 - Python
-
Updated
Jan 25, 2022 - Python
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
-
Updated
Mar 1, 2022 - Python
-
Updated
Feb 15, 2022 - Python
Version
0.4.0
Details
Should prevent git exception In a clean new repo, when there are no commits.
Steps to reproduce
- Step 1: Create a new repo
git init - Step 2: Install Husky
dotnet husky install - Step 3: Add pre-commit hook
dotnet husky add pre-commit -c "dotnet husky run" - Step 4: Add dotnet-format staged task
{
"tasks": [
{-
Updated
Jan 31, 2022 - Python
-
Updated
Feb 24, 2022 - JavaScript
-
Updated
Mar 2, 2022 - Nix
-
Updated
Apr 26, 2019 - JavaScript
-
Updated
Mar 6, 2022 - Python
-
Updated
Jan 27, 2022 - Python
-
Updated
Sep 10, 2017 - Shell
-
Updated
Feb 20, 2022 - Python
-
Updated
Apr 9, 2021 - Python
-
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.