From 39a5c8010f8f1276861bf161da4b46a685504f53 Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Tue, 27 Aug 2019 12:59:38 +0200
Subject: [PATCH] Update black and pre-commit config

---
 .pre-commit-config.yaml | 3 +--
 pyproject.toml          | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 23dd2d9..6a53f67 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,8 +3,7 @@ repos:
     rev: stable
     hooks:
       - id: black
-        language_version: python3.6
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v1.3.0
+    rev: v2.3.0
     hooks:
       - id: flake8
diff --git a/pyproject.toml b/pyproject.toml
index 1917f16..95c2f40 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,2 +1,2 @@
 [tool.black]
-py36 = true
+target_version = ['py37']
-- 
GitLab