From a0f5aa3f3c74e54e9638e0be074c4746bbd4efcb Mon Sep 17 00:00:00 2001 From: Galileo Galilei Date: Thu, 29 Oct 2020 00:47:46 +0100 Subject: [PATCH] FIX #106 - Update isort to 5.0.0 to fix conflicts with black --- .pre-commit-config.yaml | 7 +------ requirements/test_requirements.txt | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1cc8690f..2a8f524a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,13 +5,8 @@ repos: hooks: - id: black language_version: python3.7 - - repo: https://github.com/asottile/seed-isort-config - rev: v2.1.1 - hooks: - - id: seed-isort-config - args: [--exclude=kedro_mlflow/template/project/run.py] - repo: https://github.com/timothycrosley/isort - rev: e762d48fce82492b9c092653fc2f5cbf00197dcc + rev: 5.6.4 hooks: - id: isort - repo: https://gitlab.com/pycqa/flake8 diff --git a/requirements/test_requirements.txt b/requirements/test_requirements.txt index a74c50bd..7c09d50f 100644 --- a/requirements/test_requirements.txt +++ b/requirements/test_requirements.txt @@ -4,4 +4,4 @@ pytest-lazy-fixture>=0.6.0, <1.0.0 pytest-mock>=3.1.0, <4.0.0 flake8>=3.0.0, <4.0.0 black==19.10b0 # pin black version because it is not compatible with a pip range (because of non semver version number) -isort>=4.0.0, <5.0.0 +isort>=5.0.0, <6.0.0