Skip to content

Commit

Permalink
chore: add .git-blame-ignore-revs
Browse files Browse the repository at this point in the history
refs: ATV-201
  • Loading branch information
voneiden committed Jan 8, 2025
1 parent 7c60de8 commit 6a067d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# style: apply ruff
c5542c3351ec8df7c1bafd966550b6e0f4d28304

# style: add noqa N806
ab62c2381d46946dafc0804e2730492737f6cd16

# style: manual reformatting to comply with ruff
7c60de8818107865983b453798e71a2e0df535d2
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,15 @@ commit.

* Set the `DEBUG` environment variable to `1`.
* Run `pytest`.


## Git blame ignore refs

Project includes a `.git-blame-ignore-revs` file for ignoring certain commits from `git blame`.
This can be useful for ignoring e.g. formatting commits, so that it is more clear from `git blame`
where the actual code change came from. Configure your git to use it for this project with the
following command:

```shell
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

0 comments on commit 6a067d5

Please sign in to comment.