Commit d410763d authored by Aviskar KC's avatar Aviskar KC Committed by Zsolt Dollenstein
Browse files

Add link to the pyproject.toml for setting up pre-commit hook (#885)

parent 7ce3894f
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
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.

If you're already using Python 3.7, switch the `language_version`