isort
isort copied to clipboard
--sg is not skipping expected files
I run the following command and expect none of those files to show up in the output:
> isort -c --sg **/marketplace/content/store/models/v*/** marketplace/content/store
ERROR: /Users/govind.rai/Projects/all-the-things/marketplace/content/store/models/marketplace/content/store/models/v1/messages_pb2.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/govind.rai/Projects/all-the-things/marketplace/content/store/models/marketplace/content/store/models/v1/messages_pb2.pyi Imports are incorrectly sorted and/or formatted.
ERROR: /Users/govind.rai/Projects/all-the-things/marketplace/content/store/models/marketplace/content/store/models/v1/messages_pb2.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/govind.rai/Projects/all-the-things/marketplace/content/store/models/marketplace/content/store/models/v1/messages_pb2.pyi Imports are incorrectly sorted and/or formatted.
Skipped 5 files
I'm using v. 5.10.1. I used this glob tester service to ensure my glob pattern is valid.