From ebbd7776628fdfc4616ea5d87d34516bd94e1663 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Mon, 1 Jun 2020 12:49:55 +0200 Subject: [PATCH] [mod] black pre-commit: Remove Python version requirement to be able to develop with whatever Python version > 3.5 'language_version' is optional: https://pre-commit.com/#pre-commit-configyaml---hooks Originally found on: https://github.com/psf/black#version-control-integration --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b268b628..076a7971 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,5 @@ repos: -- repo: https://github.com/ambv/black +- repo: https://github.com/psf/black rev: stable hooks: - id: black - language_version: python3.7 -- GitLab