Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precommit: enable end-of-file-fixer #1920

Merged
merged 3 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: check-toml
- id: check-yaml
- id: check-merge-conflict
1 change: 0 additions & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

1 change: 0 additions & 1 deletion doc/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@ License Information
===================
GitPython is licensed under the New BSD License. See the LICENSE file for
more information.

1 change: 0 additions & 1 deletion doc/source/roadmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ The full list of milestones including associated tasks can be found on GitHub:
https://github.com/gitpython-developers/GitPython/issues

Select the respective milestone to filter the list of issues accordingly.

2 changes: 1 addition & 1 deletion test/fixtures/.gitconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[alias]
rbi = "!g() { git rebase -i origin/${1:-master} ; } ; g"
expush = "!f() { git branch -f tmp ; { git rbi $1 && git push ; } ; git reset --hard tmp ; git rebase origin/${1:-master}; } ; f"
expush = "!f() { git branch -f tmp ; { git rbi $1 && git push ; } ; git reset --hard tmp ; git rebase origin/${1:-master}; } ; f"
2 changes: 1 addition & 1 deletion test/fixtures/blame
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ b6e1b765e0c15586a2c5b9832854f95defd71e1f 23 23
634396b2f541a9f2d58b00be1a07f0c358b999b3 11 24 2
VERSION = '1.0.0'
634396b2f541a9f2d58b00be1a07f0c358b999b3 12 25
end
end
2 changes: 1 addition & 1 deletion test/fixtures/cat_file_blob
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Hello world
Hello world
1 change: 0 additions & 1 deletion test/fixtures/git_config
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@
# inclusions should be processed immediately
[sec]
var1 = value1_main

2 changes: 1 addition & 1 deletion test/fixtures/git_config_with_empty_value
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[color]
ui
[core]
filemode = true
filemode = true
1 change: 0 additions & 1 deletion test/fixtures/rev_list_bisect_all
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ committer David Aguilar <[email protected]> 1220418344 -0700
This resolves the issue mentioned in that thread.

Signed-off-by: David Aguilar <[email protected]>

1 change: 0 additions & 1 deletion test/fixtures/rev_list_commit_diffs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ author Tom Preston-Werner <[email protected]> 1193200199 -0700
committer Tom Preston-Werner <[email protected]> 1193200199 -0700

fix some initialization warnings

1 change: 0 additions & 1 deletion test/fixtures/rev_list_commit_idabbrev
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ author tom <tom@taco.(none)> 1195608462 -0800
committer tom <tom@taco.(none)> 1195608462 -0800

fix tests on other machines

1 change: 0 additions & 1 deletion test/fixtures/rev_list_commit_stats
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ author Tom Preston-Werner <[email protected]> 1191997100 -0700
committer Tom Preston-Werner <[email protected]> 1191997100 -0700

initial grit setup

Loading