#1927·isort

--sg is not skipping expected files

Author: govindraiCreated May 5, 2022Updated Aug 3, 2026

I run the following command and expect none of those files to show up in the output:

bash
> isort -c  --sg **/marketplace/content/store/models/v*/** marketplace/content/store 
bash
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.