More customization for BLE001
- Dominant language
- Rust
- Stars
- 49.6k
- Forks
- 2.4k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 458
Description
### Summary
Currently if there is a `logger.exception()` inside the `catch Exception:` block, it will pass BLE001, the thing is one might have their own exception reporter function that possibly internally calls `logger.exception()` or log the exception in a totally different way.
It would be nice if we could somehow customize the phrases that would make BLE001 pass if present in `catch Exception:` block.
Contributor guide
Research direction
Start by reading the BLE001 rule and its handling of logger.exception() inside catch Exception blocks. Trace the relevant configuration entry points and determine how customizable phrases should be specified; done means configured exception-reporting patterns allow BLE001 to pass while preserving the rule's existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100