isort icon indicating copy to clipboard operation
isort copied to clipboard

--sg is not skipping expected files

Open govindrai opened this issue 3 years ago • 0 comments

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.

govindrai avatar May 05 '22 21:05 govindrai