Skip to content

Commit

Permalink
chore: add .git-blame-ignore-revs (#2366)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mwtoews authored Nov 14, 2024
1 parent bb9824e commit e62ebb0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Introduce end-of-line normalization (#913)
de38a5bb9559a4acb14317a9038ce8267c432c03

# Initial GitHub actions for linting (#954)
675d12b07b1c7f93c2bce9da29790cf364d52505

# apply consistent multi-line string formatting (#1166)
2912b1dfc3fbfc926128702f222b7b1ca9f15c6c

# use f-strings to format str (#1212)
5d4324ddb6ed5abad231295d63e28cdf779e5e07

# consistently use relative imports (#1330)
16b84e8e7933b98c63eaa4fbeb47f6e28a45d611

# switch to ruff, ignore known test warnings, numpy compat fixes (#2124)
b142b081516e6ac78e426257c7472dd4a9994b89

# reformat codebase with longer line length (#2362)
12a3bcd1ba8b229e00e2da8a448e7866c16fdb29
8 changes: 7 additions & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ To develop FloPy you must have the following software installed on your machine:
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)).
GitHub's [Guide to Installing Git](https://help.github.com/articles/set-up-git) is a good source of information.

Optionally, the [`git blame`](https://git-scm.com/docs/git-blame) tool can be configured to work locally using:

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

### Python

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

```Python
project_root_path = Path(__file__).parent.parent
```
```

0 comments on commit e62ebb0

Please sign in to comment.