Skip to content

Commit 2c63ce5

Browse files
committed
Add example commits for our formatting best practice
1 parent ccf1101 commit 2c63ce5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/contributing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ trigger this manually with `pre-commit run --all-files`.
3434
Thanks to pre-commit, all commits should be formatted. In cases where formatting needs
3535
to be fixed (e.g. changing config of a linter), a format-only commit should be created,
3636
and then another commit should immediately follow which updates
37-
`.git-blame-ignore-revs`.
37+
`.git-blame-ignore-revs`. For example:
38+
[1fec42d](https://github.com/matplotlib/viscm/pull/64/commits/1fec42d0baf90e00d510efd76cb6006fa0c70dc4),
39+
[8aa7bb0](https://github.com/matplotlib/viscm/pull/64/commits/8aa7bb01440aeca6f8bbcefe0671c28f2ce284c6).

0 commit comments

Comments
 (0)