-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
snakefmt appears to require explicit inclusion of subdirectories #202
Comments
(context: I'm working on the same repo as @corneliusroemer) The behavior makes more sense with
This is because the default We can customize on our repo to prevent this false-positive matching. |
Is there a reason why the includes are overridden by excludes? I'd prefer the opposite behavior, which would prevent this issue. |
I would suggest to make the default exclude much less tight. Especially since you already respect However, there are definitely false positives by the very lax excludes, anything that contains the substring |
…ignore` See #187 for details And snakemake/snakefmt#202
Thanks for identifying this. The excludes are all basically supposed to be directories and we use the If you could try this out it (#204 ) would be most appreciated. |
I was surprised that snakemake files in subdirectories weren't included by default when running
snakefmt .
In particular, the following directory and files were ignored when running from the project root:
I would expect that these files
worfklow/snakemake_rules/trigger_rebuild.smk
etc are included, because they match the default include regex.smk$
The text was updated successfully, but these errors were encountered: