From eff327f75888bb4ece7af6b27f3b22517ad710a7 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Thu, 9 Jan 2020 16:37:06 +0100 Subject: [PATCH] Add black to pre-commit-hooks --- .pre-commit-config.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5be0c2a0..c6191899 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ repos: -- repo: git://github.com/pre-commit/pre-commit-hooks + - repo: git://github.com/pre-commit/pre-commit-hooks sha: v1.2.0 hooks: - id: trailing-whitespace @@ -9,9 +9,8 @@ repos: - id: check-added-large-files - id: debug-statements - id: end-of-file-fixer -- repo: git://github.com/FalconSocial/pre-commit-python-sorter - sha: b57843b0b874df1d16eb0bef00b868792cb245c2 + - repo: https://github.com/psf/black + rev: stable hooks: - - id: python-import-sorter - args: - - --silent-overwrite + - id: black + language_version: python3.6 -- 2.45.2