We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skip_glob
!(ab|cd|ef)
Related to #885 and #1927 , Python 3.8.10, isort 5.10.1, pattern works in the glob tester here https://www.digitalocean.com/community/tools/glob (and https://globster.xyz/ I think, but the output is... odd).
Project structure:
. ├── (Various config files, including:) ├── setup.cfg with `[tool:isort]` ├── src │ ├── scripts │ │ ├── zzz.yyy.py │ │ ├── zzz.aaa.py │ │ ├── zzz.bbb.py │ │ └── zzz.ccc.py
I am trying to skan all **/zzz.* except zzz.yyy.py with the following:
**/zzz.*
zzz.yyy.py
skip_glob=**/zzz.*
skip_glob=**/zzz.!(yyy.py)
Is this !(ab|cd|ef) syntax supported by isort?
Edit 26/07: Fixed the second skip_glob example, I forgot to "obfuscate" it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Related to #885 and #1927 , Python 3.8.10, isort 5.10.1, pattern works in the glob tester here https://www.digitalocean.com/community/tools/glob (and https://globster.xyz/ I think, but the output is... odd).
Project structure:
I am trying to skan all
**/zzz.*
exceptzzz.yyy.py
with the following:skip_glob=**/zzz.*
- skips all 4 files;skip_glob=**/zzz.!(yyy.py)
- (working in glob testers above) does not skip anything.Is this
!(ab|cd|ef)
syntax supported by isort?Edit 26/07: Fixed the second
skip_glob
example, I forgot to "obfuscate" it.The text was updated successfully, but these errors were encountered: