andreoliwa/nitpick

View on GitHub
src/nitpick/resources/any/pre-commit-hooks.toml

Summary

Maintainability
Test Coverage
[nitpick.meta]
name = "pre-commit hooks for any project"
url = "https://github.com/pre-commit/pre-commit-hooks"

# See https://pre-commit.com/hooks.html for more hooks

[nitpick.files.present]
".pre-commit-config.yaml" = "Create the file with the contents below, then run 'pre-commit install'"

[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"

[[".pre-commit-config.yaml".repos.hooks]]
id = "end-of-file-fixer"

[[".pre-commit-config.yaml".repos.hooks]]
id = "trailing-whitespace"