From 1a29f86e6591628cd0de189bcf624d88995fd486 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 15 Oct 2022 11:12:25 -0400 Subject: [PATCH] disable isort in pyproject.toml disable isort, for IDEs that just default isort to be turned on, e.g. vscode. we use flake8-import-order for import sorting, using zimports to actually reformat code. isort is nicer in many ways but doesn't have our "import *" fixer and also is not 100% compatible with flake8-import-order. Change-Id: I8e53d475cdc1d6178e2c9276d2b21d47be207ede (cherry picked from commit e8da50ce0f0474bc89cee15603931760cb6c55ce) --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f82dbd468b..da6c4cba06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,4 +6,11 @@ target-version = ['py27', 'py36'] black-line-length = 79 keep-unused-type-checking = true +# disable isort, for IDEs that just default isort to be turned on, e.g. vscode. +# we use flake8-import-order for import sorting, using zimports to actually +# reformat code. isort is nicer in many ways but doesn't have our +# "import *" fixer and also is not 100% compatible with flake8-import-order. +[tool.isort] +skip_glob=['*'] + -- 2.47.2