mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 04:34:16 +00:00
v1.1.0
This commit is contained in:
parent
a5338f276b
commit
8a98c5e590
4 changed files with 12 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v1.0.0
|
sha: v1.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
1.1.0
|
||||||
|
=====
|
||||||
|
### Features:
|
||||||
|
- `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow
|
||||||
|
linting of files using the
|
||||||
|
[multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
|
||||||
|
- pre-commit/pre-commit#635 issue by @geekobi.
|
||||||
|
- #244 PR by @asottile.
|
||||||
|
|
||||||
1.0.0
|
1.0.0
|
||||||
=====
|
=====
|
||||||
### Features:
|
### Features:
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
|
||||||
Add this to your `.pre-commit-config.yaml`
|
Add this to your `.pre-commit-config.yaml`
|
||||||
|
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v1.0.0 # Use the ref you want to point at
|
sha: v1.1.0 # Use the ref you want to point at
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
# - id: ...
|
# - id: ...
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -6,7 +6,7 @@ setup(
|
||||||
name='pre_commit_hooks',
|
name='pre_commit_hooks',
|
||||||
description='Some out-of-the-box hooks for pre-commit.',
|
description='Some out-of-the-box hooks for pre-commit.',
|
||||||
url='https://github.com/pre-commit/pre-commit-hooks',
|
url='https://github.com/pre-commit/pre-commit-hooks',
|
||||||
version='1.0.0',
|
version='1.1.0',
|
||||||
|
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue