Skip to content

pre-commit/demo-repo

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 14, 2014 11:55
img
August 14, 2014 14:27
June 10, 2014 12:45
March 14, 2014 11:40
March 14, 2014 11:55

demo-repo

This is a demo repo to demonstrate pre-commit hooks.

pre-commit: https://github.com/pre-commit/pre-commit

Simple instructions to see this repo in action.

$ virtualenv venv
$ . venv/bin/activate
$ pip install pre-commit
$ pre-commit install
$ pre-commit run --all-files

# Should show some output with some passing and some failing hooks

Some Screenshots

Example hook failures

Example failures

Successful commit

Example failures