From 2c5041cfa0e5645275504c070ef7d0ca5609752f Mon Sep 17 00:00:00 2001 From: Vinicius Gubiani Ferreira Date: Thu, 16 Jul 2020 01:51:39 -0300 Subject: [PATCH] docs: Improve pre-commit use (#1551) Stable tag wasn't available and crashed when attempting to set initial pre-commit. Also the python version needs to be installed so it would be better to use the generic "python3" command. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33c170b..0731508 100644 --- a/README.md +++ b/README.md @@ -370,10 +370,10 @@ Use [pre-commit](https://pre-commit.com/). Once you ```yaml repos: - repo: https://github.com/psf/black - rev: stable + rev: 19.10b0 # Replace by any tag/version: https://github.com/psf/black/tags hooks: - id: black - language_version: python3.6 + language_version: python3 # Should be a command that runs python3.6+ ``` Then run `pre-commit install` and you're ready to go. -- 2.39.5