Skip to content

Commit

Permalink
Add .git-blame-ignore-revs and update contrib guide (infra) (canonica…
Browse files Browse the repository at this point in the history
…l#1177)

Add .git-blame-ignore-revs and update contrib guide
  • Loading branch information
pieqq authored and LiaoU3 committed Apr 17, 2024
1 parent 7269845 commit 3c6949b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Black formatting
3789fdd9225f5bf7f871af1e69ae11cca90cd555
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ its providers and its documentation.
## General recommendations

- The codebase uses [black] for formatting, with `line-length` set to `79`.
- Install [black] inside your virtual environment using pip instead of using
Debian packages from apt, as the versions in pip are more up-to-date.
- Use `git config blame.ignoreRevsFile .git-blame-ignore-revs` if you want to
[ignore commits related to black formatting].
- Setup your editor of choice to run [autopep8] on save. This helps keep
Expand Down

0 comments on commit 3c6949b

Please sign in to comment.