Title: Add support for recursive glob patterns. · Issue #29 · flakehell/flakehell · GitHub
Open Graph Title: Add support for recursive glob patterns. · Issue #29 · flakehell/flakehell
X Title: Add support for recursive glob patterns. · Issue #29 · flakehell/flakehell
Description: 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.flake...
Open Graph Description: 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 exclusio...
X Description: 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 excl...
Opengraph URL: https://github.com/flakehell/flakehell/issues/29
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for recursive glob patterns.","articleBody":"One example where this could be useful: I'd like to disable `pyflakes` from analyzing *any* of the markdown files in my repo.\r\nI know that in my `pyproject.toml` file I can set up plugin-specific exclusions for filepaths, like this:\r\n```\r\n[tool.flakehell.exceptions.\"*.md\"]\r\n# Do not analyze markdown files with pyflakes.\r\npyflakes = [\"-*\"]\r\n```\r\n\r\nBut this above example only ignores markdown files in the top directory. Right now I have to resort to the ugly\r\n```\r\n[tool.flakehell.exceptions.\"*.md */*.md */*/*.md */*/*/*.md\"]\r\npyflakes = [\"-*\"]\r\n```\r\npattern 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.\r\n\r\nI was hoping that flakehell could support recursive globbing, so that the following beauty would work:\r\n```\r\n[tool.flakehell.exceptions.\"**/*.md\"]\r\npyflakes = [\"-*\"]\r\n```\r\n\r\nIf it's possible, I'd appreciate this feature.","author":{"url":"https://github.com/balint-bg","@type":"Person","name":"balint-bg"},"datePublished":"2022-02-02T00:26:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/29/flakehell/issues/29"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b45fda89-eec8-5aa0-3f23-391ceb49df9b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E14:BF1F6:2578FB:2F7D75:698FF34B |
| html-safe-nonce | 703c5cedba3bac8c1d88e7b6493b0bc11bef15582bfda7dd975a31378afa3619 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTE0OkJGMUY2OjI1NzhGQjoyRjdENzU6Njk4RkYzNEIiLCJ2aXNpdG9yX2lkIjoiODIyMzc0NDAwNzA3NjgzNjE3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f6ce86907e5f59ee0d2d4056aa32c365a3204cd2a711b5e5793d65d917dfd0fc |
| hovercard-subject-tag | issue:1121342758 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/flakehell/flakehell/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0036f7cf43f2aac78b35ff352e769956197efd55fd8cfca1585e608359f36ac4/flakehell/flakehell/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0036f7cf43f2aac78b35ff352e769956197efd55fd8cfca1585e608359f36ac4/flakehell/flakehell/issues/29 |
| og:image:alt | 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 exclusio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | balint-bg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/flakehell/flakehell git https://github.com/flakehell/flakehell.git |
| octolytics-dimension-user_id | 77460385 |
| octolytics-dimension-user_login | flakehell |
| octolytics-dimension-repository_id | 335882057 |
| octolytics-dimension-repository_nwo | flakehell/flakehell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 335882057 |
| octolytics-dimension-repository_network_root_nwo | flakehell/flakehell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width