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.
This commit is contained in:
Garrett Robinson 2023-09-28 16:30:28 +03:00 committed by Alex Pyrgiotis
parent eab768f950
commit 79c1d6db0f
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -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