One example where this could be useful: I'd like to disable pyflakes from analyzing any of the markdown files in my repo.
I know that in my pyproject.toml file I can set up plugin-specific exclusions for filepaths, like this:
[tool.flakehell.exceptions."*.md"]
# Do not analyze markdown files with pyflakes.
pyflakes = ["-*"]
But this above example only ignores markdown files in the top directory. Right now I have to resort to the ugly
[tool.flakehell.exceptions."*.md */*.md */*/*.md */*/*/*.md"]
pyflakes = ["-*"]
pattern and I would prefer not to write things that are this bad looking, and also not to have to remember to update that glob list whenever someone adds a markdown file one level deeper.
I was hoping that flakehell could support recursive globbing, so that the following beauty would work:
[tool.flakehell.exceptions."**/*.md"]
pyflakes = ["-*"]
If it's possible, I'd appreciate this feature.
One example where this could be useful: I'd like to disable
pyflakesfrom analyzing any of the markdown files in my repo.I know that in my
pyproject.tomlfile I can set up plugin-specific exclusions for filepaths, like this:But this above example only ignores markdown files in the top directory. Right now I have to resort to the ugly
pattern and I would prefer not to write things that are this bad looking, and also not to have to remember to update that glob list whenever someone adds a markdown file one level deeper.
I was hoping that flakehell could support recursive globbing, so that the following beauty would work:
If it's possible, I'd appreciate this feature.