ruff/crates/ruff_python_semantic/src/analyze
Alex Waygood 72adb09bf3
Simplify iteration idioms (#13834)
Remove unnecessary uses of `.as_ref()`, `.iter()`, `&**` and similar, mostly in situations when iterating over variables. Many of these changes are only possible following #13826, when we bumped our MSRV to 1.80: several useful implementations on `&Box<[T]>` were only stabilised in Rust 1.80. Some of these changes we could have done earlier, however.
2024-10-20 22:25:27 +01: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 Split CallPath into QualifiedName and UnqualifiedName (#10210) 2024-03-04 09:06:51 +00: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 Simplify iteration idioms (#13834) 2024-10-20 22:25:27 +01:00
visibility.rs Avoid no-self-use for attrs-style validators (#13166) 2024-08-30 12:39:05 -04:00