isort icon indicating copy to clipboard operation
isort copied to clipboard

Specify/exclude files the same way as black or "use from black"

Open swaldhoer opened this issue 4 years ago • 0 comments

I think it would be good if one could specify the included/excluded files in the same way as black does it:

[tool.isort]
include = '\.pyi?$'
extend-exclude = '''
/(
  | bla/data
  | blub
)/
'''

I would be even better if you could just say just use these settings from black, like e.g., something like that

[tool.isort]
profile = "black"
[tool.isort.black]
include = true
extend-exclude = true
exclude = true

swaldhoer avatar Jan 25 '22 19:01 swaldhoer