Skip to content

Commit 5d15e7e

Browse files
authored
Update 2021-07-01-code-quality-pre-commit.markdown
1 parent 9d1aa4c commit 5d15e7e

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
@@ -80,7 +80,7 @@ pre-commit install
8080
- Isort needs to know about your project's dependencies in order to determine which groups to put your imports in. Therefore the hook
8181
only works with a local installation of isort, (i.e. it's installed in your
8282
environment).
83-
- You may want to run tests in pre-commit as well.
83+
- 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)`.
8585
- 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 history, to maintain git blame.
8686

0 commit comments

Comments
 (0)