Displaying 1 to 20 from 28 results

husky - :dog: Git hooks made easy

  •    Javascript

By default, husky expects your project's package.json and your .git directory to be at the same level. It can be configured to support monorepos or sub-directories.Check documentation for more.

pre-commit - Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit

  •    Javascript

pre-commit is a pre-commit hook installer for git. It will ensure that your npm test (or other specified scripts) passes before you can commit your changes. This all conveniently configured in your package.json. But don't worry, you can still force a commit by telling git to skip the pre-commit hooks by simply committing using --no-verify.

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

  •    Python

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

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

  •    Python

Some out-of-the-box hooks for pre-commit. If you'd like to use these hooks, they're also available as a standalone package.




glyphcheck - Detect malicious homoglyphs in Go source code

  •    Go

glyphcheck checks for suspicious characters in Go source files.If you are familiar with cobra, you know that this code will simply print "Hello!" to os.Stderr. Except this isn't cobra, it's an entirely different package. Go ahead and copy the import URL into your browser and see where you wind up. Maybe your system's fonts make this easy to detect -- but that isn't the case for everyone.

git-hook-modules - A simple module system for git hooks

  •    Javascript

Deprecated: Check out husky if is you want a module system for git hooks. A simple git hook module system.

staged-git-files - Node module that returns a list of files waiting to be committed.

  •    Javascript

This module returns an array of staged files and their status acording to git. Get head that will be used in the diff to ID which files are waiting to be staged.


pre-git - Automatically install pre-commit / pre-push hooks in your git repo

  •    Javascript

Important git hooks implemented using Nodejs for your project. You can easily run the pre-commit and pre-push Git hooks to avoid breaking the local master branch or the remote master.

add-trailing-comma - A tool (and pre-commit hook) to automatically add trailing commas to calls and literals

  •    Python

A tool (and pre-commit hook) to automatically add trailing commas to calls and literals. Note that this would cause a SyntaxError in earlier python versions.

blacken-docs - Run `black` on python code blocks in documentation files

  •    Python

Run black on python code blocks in documentation files. blacken-docs provides a single executable (blacken-docs) which will modify .rst / .md files in place.

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

  •    Python

A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. Key format (%(key)s) rewriting is planned but not yet implemented.

reorder_python_imports - Rewrites source to reorder python imports

  •    Python

Tool for automatically reordering python imports. Similar to isort but uses static analysis more. Lines containing and after lines which contain a # noreorder comment will be ignored. Additionally any imports that appear after non-whitespace non-comment lines will be ignored.

puppet-pre-commit-hook - A Puppet pre-commit hook to validate syntax

  •    Shell

All credits should really go to Ronny Roethof, I merely editted it and added some ERB template checking. The code is made available here under the MIT license.

pre-commit-hooks - git pre-commit hooks

  •    Python

A few useful git hooks to integrate with pre-commit. For Java / Javascript / CSS, set --comment-style /*| *| */. For HTML files: --comment-style <!--| ~| -->.

pre-commit-hooks-safety - A pre-commit hook to check your Python dependencies against safety-db

  •    Python

A pre-commit hook to check your Python dependencies against safety-db. It checks all files containing requirements in their name in the repo.

pre-commit-shell - :beers: pre commit wrapper shellcheck

  •    Shell

To contribute to pre-commit-shell, clone this repo locally and commit your code on a separate branch. pre-commit-shell is licensed under the MIT license.

pre-commit-hooks-bandit - A pre-commit hook to find common security issues in your Python code

  •    Python

A pre-commit hook to find common security issues in your Python code using bandit. You can check the plugins list & examples for tangible use cases.