pre-commit / demo-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Ruby 49.0%Language:JavaScript 24.0%Language:SCSS 17.3%Language:Python 9.8%