Open
Description
Create pyproject.toml
:
[tool.isort]
extend_skip=['a.py']
Create an empty a.py
.
Now compare:
$ isort -v a.py
_ _
(_) ___ ___ _ __| |_
| |/ _/ / _ \/ '__ _/
| |\__ \/\_\/| | | |_
|_|\___/\___/\_/ \_/
isort your imports, so you don't have to.
VERSION 5.13.2
$ isort -v --resolve-all-configs a.py
_ _
(_) ___ ___ _ __| |_
| |/ _/ / _ \/ '__ _/
| |\__ \/\_\/| | | |_
|_|\___/\___/\_/ \_/
isort your imports, so you don't have to.
VERSION 5.13.2
./pyproject.toml used for file a.py
--resolve-all-configs
shouldn't have an effect on which files are ignored, so one of these commands is doing the wrong thing.
Metadata
Assignees
Labels
No labels