Skip to content

Commit 988c871

Browse files
authored
Update 2021-07-01-code-quality-pre-commit.markdown
1 parent 9f781c7 commit 988c871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_posts/python/2021-07-01-code-quality-pre-commit.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ pre-commit install
8282
environment).
8383
- You may want to run tests in pre-commit as well. I prefer to run them separately.
8484
- To exclude certain files and directories, use the exclude option, e.g. `exclude: ^(docs/|examples/request.py)`.
85-
- If you have an existing project with unformatted code, _format the entire project all at once_. Don't do it gradually. I do it in a single dedicated PR, but I've seen others reformat the repository's entire history, to maintain git blame.
85+
- If you have an existing project with unformatted code, _format the entire project all at once_. Don't do it gradually. I do it in a single dedicated PR, but I've seen others reformat the repository's entire history, to preserve git blame.
8686

8787
See also: [How to use Ruff, Mypy, Black, Isort and Pytest in Github Actions?](/python/github-actions)

0 commit comments

Comments
 (0)