aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDwight Lidman <dwight.lidman@arm.com>2020-10-06 12:30:24 +0200
committerpatrik.gustavsson <patrik.gustavsson@arm.com>2020-10-07 12:52:57 +0000
commit2febe7fc5ef072481c39c389032746f7e1cbc4b7 (patch)
tree947f4b30c0550d572e0d0318308a59350267752a /.pre-commit-config.yaml
parentd5044a4fec91a04d64e074cb604cf8714f8d4478 (diff)
downloadethos-u-vela-2febe7fc5ef072481c39c389032746f7e1cbc4b7.tar.gz
Updated pre-commit config to use 19.10b0 version of Black
The latest "stable" version of Black formats code differently from the 19.10b0 version that has been used in the past, which introduces unwelcome formatting changes in newer commits. This commit explicitly sets the revision to 19.10b0. It also changes the repo parameter to point to the new URL. Signed-off-by: Dwight Lidman <dwight.lidman@arm.com> Change-Id: I20c73f0c87434143f62282f5f0399f73cedfd6ce
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d480f6ea..55a51a54 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,8 +5,8 @@ repos:
hooks:
- id: reorder-python-imports
-- repo: https://github.com/ambv/black
- rev: stable
+- repo: https://github.com/psf/black
+ rev: 19.10b0
hooks:
- id: black
language_version: python3.6