/pre-commit-snippets

A snippet collection to set up your pre-commit config

Primary LanguagePythonMIT LicenseMIT

pre-commit-snippets

Visual Studio Code pre-commit snippets provide easy configuration for your favorite git hooks.

Features

The "pre-commit Snippets" extension includes snippets for a variety of pre-commit hooks, including:

ansible-lint bandit black black-jupyter
codespell config-files css eslint
flake8 hook isort markdownlint
markdownlint-cli mypy no-commit-to-branch prettier
pygrep-hooks pyupgrade ruff shellcheck
yamllint

To use a snippet, simply start typing the name of the hook in your .pre-commit-config.yaml file, and select the snippet from the autocomplete dropdown.

_

Start with the hook snippet to initialize your .pre-commit-config.yaml file.

Requirements

A .pre-commit-config.yaml-file for adding your snippets.

Known Issues

There are currently no known issues. If you encounter a problem, please report it on the issue tracker.

Release Notes

0.0.2

Add ruff-format hook to pre-commit.

0.0.1

Initial release of pre-commit Snippets.

See also: Changelog