Skip to content

Commit

Permalink
Merge pull request #2103 from cms-sw/blame-ignore
Browse files Browse the repository at this point in the history
Create .git-blame-ignore-revs file
  • Loading branch information
iarspider authored Nov 1, 2023
2 parents a1cd6db + e43b9c7 commit 27dfeff
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Reformat everything with Black, part 1
d64ce0527da177ffaf4a9efcb1fc9fd31a9f416e
# Reformat everything with Black, part 2
64e3a6a4d9a8de478b780ea090fe33f2a8e8646f
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,20 @@ basis.

- [es-templates](https://github.com/cms-sw/cms-bot/tree/master/es-templates): contains the templates for the logged dataes-templates.
- [es-cleanup-indexes](https://github.com/cms-sw/cms-bot/blob/master/es-cleanup-indexes): cleanups old indexes in elasticsearch.

# Code style

This project uses [Black](https://pypi.org/project/black) to ensure uniform code style. The following options are used:

```
--line-length 99 --target-version py36 --target-version py37 --target-version py38 --target-version py39 --target-version py310 --target-version py311
```

## Ignoring formatting commits

We record commits containing only code-style changes in [`.git-blame-ignore-revs`](.git-blame-ignore-revs) file. Use the following command on your local
copy of this repository to exculse these commits from `git blame`:

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

0 comments on commit 27dfeff

Please sign in to comment.