From b49034e8fdcd854e775e6c6e36699c0357956619 Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Fri, 28 Oct 2022 20:55:29 +0200 Subject: [PATCH] MAINT: Update isort config (#1408) --- .pre-commit-config.yaml | 6 ++++-- pyproject.toml | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ffb52bab4..f7fb82313 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,10 +25,12 @@ repos: # rev: v0.942 # hooks: # - id: mypy -- repo: https://github.com/pre-commit/mirrors-isort - rev: v5.10.1 +- repo: https://github.com/pycqa/isort + rev: 5.10.1 hooks: - id: isort + name: isort (python) + additional_dependencies: [toml] - repo: https://github.com/psf/black rev: 22.6.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 6250057e6..20dec44ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,6 @@ norecursedirs = ["tests/pdf_cache"] line_length = 79 indent = ' ' multi_line_output = 3 -length_sort = 0 include_trailing_comma = true known_third_party = ["pytest", "setuptools"]