mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-25 11:30:58 +00:00
![]() ## 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` |
||
---|---|---|
.. | ||
builtins.rs | ||
future.rs | ||
identifiers.rs | ||
keyword.rs | ||
lib.rs | ||
logging.rs | ||
path.rs | ||
str.rs | ||
sys.rs | ||
typing.rs |