Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Pre Commit Hooks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VoerEir
Pre Commit Hooks
Commits
e8e54f7f
Commit
e8e54f7f
authored
6 years ago
by
Anthony Sottile
Browse files
Options
Downloads
Patches
Plain Diff
v2.2.2
parent
404e226b
Branches
Branches containing commit
Tags
v2.2.2
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.pre-commit-config.yaml
+1
-1
1 addition, 1 deletion
.pre-commit-config.yaml
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
README.md
+1
-1
1 addition, 1 deletion
README.md
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
with
10 additions
and
3 deletions
.pre-commit-config.yaml
+
1
−
1
View file @
e8e54f7f
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v2.2.
1
rev
:
v2.2.
2
hooks
:
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG.md
+
7
−
0
View file @
e8e54f7f
2.2.2
=====
### Fixes
-
Handle CRLF line endings in
`fix-encoding-pragma`
-
#384 PR by @asottile.
2.
2.1
=====
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
e8e54f7f
...
...
@@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
Add this to your
`.pre-commit-config.yaml`
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.
1
# Use the ref you want to point at
rev: v2.2.
2
# Use the ref you want to point at
hooks:
- id: trailing-whitespace
# - id: ...
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
1
View file @
e8e54f7f
[metadata]
name
=
pre_commit_hooks
version
=
2.2.
1
version
=
2.2.
2
description
=
Some out-of-the-box hooks for pre-commit.
long_description
=
file: README.md
long_description_content_type
=
text/markdown
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment