From 79c1d6db0fbe3227454b5d530e46f778d00a633f Mon Sep 17 00:00:00 2001 From: Garrett Robinson Date: Thu, 28 Sep 2023 16:30:28 +0300 Subject: [PATCH] Use extend_skip to avoid overriding isort's skip default This preserves isort's default behavior of ignoring virtualenvs with common names like `venv` or `.venv`, which is helpful when running `isort` in a local development environment that uses such a virtualenv. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f73b80f..9d6545a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ strip-ansi = "*" [tool.isort] profile = "black" -skip = [".gitignore"] +extend_skip = [".gitignore"] # This is necessary due to https://github.com/PyCQA/isort/issues/1835 follow_links = false