Add link to the pyproject.toml for setting up pre-commit hook (#885)
This commit is contained in:
parent
7ce3894f23
commit
d410763d8d
@ -910,7 +910,7 @@ Then run `pre-commit install` and you're ready to go.
|
|||||||
|
|
||||||
Avoid using `args` in the hook. Instead, store necessary configuration
|
Avoid using `args` in the hook. Instead, store necessary configuration
|
||||||
in `pyproject.toml` so that editors and command-line usage of Black all
|
in `pyproject.toml` so that editors and command-line usage of Black all
|
||||||
behave consistently for your project. See *Black*'s own `pyproject.toml`
|
behave consistently for your project. See *Black*'s own [pyproject.toml](/pyproject.toml)
|
||||||
for an example.
|
for an example.
|
||||||
|
|
||||||
If you're already using Python 3.7, switch the `language_version`
|
If you're already using Python 3.7, switch the `language_version`
|
||||||
|
Loading…
Reference in New Issue
Block a user