Skip to content

Commit e62ebb0

Browse files
authored
chore: add .git-blame-ignore-revs (#2366)
Clear some "noise" when using GitHub's "blame view" UI tool to see changes in code history for individual files. These commits are chosen as they are mostly style-related changes rather than code refactors (minor refactors are OK): - de38a5b - 675d12b - 2912b1d - 5d4324d - 16b84e8 - b142b08 - 12a3bcd
1 parent bb9824e commit e62ebb0

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.git-blame-ignore-revs

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Introduce end-of-line normalization (#913)
2+
de38a5bb9559a4acb14317a9038ce8267c432c03
3+
4+
# Initial GitHub actions for linting (#954)
5+
675d12b07b1c7f93c2bce9da29790cf364d52505
6+
7+
# apply consistent multi-line string formatting (#1166)
8+
2912b1dfc3fbfc926128702f222b7b1ca9f15c6c
9+
10+
# use f-strings to format str (#1212)
11+
5d4324ddb6ed5abad231295d63e28cdf779e5e07
12+
13+
# consistently use relative imports (#1330)
14+
16b84e8e7933b98c63eaa4fbeb47f6e28a45d611
15+
16+
# switch to ruff, ignore known test warnings, numpy compat fixes (#2124)
17+
b142b081516e6ac78e426257c7472dd4a9994b89
18+
19+
# reformat codebase with longer line length (#2362)
20+
12a3bcd1ba8b229e00e2da8a448e7866c16fdb29

DEVELOPER.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ To develop FloPy you must have the following software installed on your machine:
5050
You will need [Git](https://git-scm.com) and/or the **GitHub app** (for [Mac](https://mac.github.com) or [Windows](https://windows.github.com)).
5151
GitHub's [Guide to Installing Git](https://help.github.com/articles/set-up-git) is a good source of information.
5252

53+
Optionally, the [`git blame`](https://git-scm.com/docs/git-blame) tool can be configured to work locally using:
54+
55+
```shell
56+
git config blame.ignoreRevsFile .git-blame-ignore-revs
57+
```
58+
5359
### Python
5460

5561
FloPy supports several recent versions of Python, loosely following [NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html#implementation).
@@ -415,4 +421,4 @@ For a script in a subdirectory of the root, for instance, the conventional appro
415421

416422
```Python
417423
project_root_path = Path(__file__).parent.parent
418-
```
424+
```

0 commit comments

Comments
 (0)