ruff/crates/ruff_python_semantic/src/analyze
Harutaka Kawamura e3d792605f
[`flake8-bugbear`] Fix `mutable-contextvar-default (B039)` to resolve annotated function calls properly (#14532)
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

Fix #14525

## Test Plan

<!-- How was it tested? -->

New test cases

---------

Signed-off-by: harupy <hkawamura0130@gmail.com>
2024-11-23 21:29:25 -05:00
..
class.rs Treat `type(Protocol)` et al as metaclass base (#12770) 2024-08-09 20:10:12 +00:00
function_type.rs Improve handling of metaclasses in various linter rules (#12579) 2024-07-30 14:48:36 +01:00
imports.rs [`pycodestyle`] Exempt `pytest.importorskip()` calls (`E402`) (#14474) 2024-11-19 22:08:15 -05:00
logging.rs Include inline instantiations when detecting loggers (#11154) 2024-04-25 21:00:12 -04:00
mod.rs Respect mixed `return` and `raise` cases in return-type analysis (#9310) 2023-12-29 16:46:37 +00:00
terminal.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
type_inference.rs Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30
typing.rs [`flake8-bugbear`] Fix `mutable-contextvar-default (B039)` to resolve annotated function calls properly (#14532) 2024-11-23 21:29:25 -05:00
visibility.rs Avoid `no-self-use` for `attrs`-style validators (#13166) 2024-08-30 12:39:05 -04:00