mirror of https://github.com/astral-sh/ruff
## Summary This PR implements a new rule for `flake8-logging` plugin that checks for `logging.getLogger` calls with either `__file__` or `__cached__` as the first argument and generates a suggested fix to use `__name__` instead. Refer: #7248 ## Test Plan Add test cases and `cargo test` |
||
|---|---|---|
| .. | ||
| configuration.rs | ||
| lib.rs | ||
| options.rs | ||
| options_base.rs | ||
| pyproject.rs | ||
| resolver.rs | ||