Skip to content

Commit cab574b

Browse files
authored
Merge branch 'main' into dependabot/github_actions/zgosalvez/github-actions-ensure-sha-pinned-actions-5.0.2
2 parents ee3ac8a + ffeae0f commit cab574b

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.git-blame-ignore-revs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
# migrating to the black formatter
1+
# Usage: run the following command to configure git to use this file:
2+
#
3+
# git config blame.ignoreRevsFile .git-blame-ignore-revs
4+
#
5+
# This instructs `git-blame` to ignore certain commits, such as those that only
6+
# involve large refactoring or reformatting operations. The format of this file
7+
# is one full 40-character commit hash (SHA-1) per line. Blank lines and
8+
# comments (such as this) are allowed.
9+
10+
# Migrating to the black formatter.
211
5cd8b96e605039af1496b6ad97ea490ef2fa7b82
12+
13+
# Run check/format-incremental --all --apply.
14+
7f262ff9cc9eeb9b1b2d6a26c4acbfb7ab17063e

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ we use.
6969

7070
where `YOUR_BRANCH_NAME` is the name of your new branch.
7171

72+
### git configuration
73+
74+
The following command will set up large refactoring revisions to be ignored,
75+
when using `git blame`:
76+
77+
```bash
78+
git config blame.ignoreRevsFile .git-blame-ignore-revs
79+
```
80+
81+
Note that if you are using PyCharm, you might have to use the command _Restart
82+
& Invalidate Caches) to have the change be picked up.
83+
7284
### Development environment installation
7385

7486
Please refer to the section _Developer install_ of the [installation

0 commit comments

Comments
 (0)