ruff/crates/ruff_python_ast
Charlie Marsh e5db72459e
Detect implicit returns in auto-return-types (#8952)
## Summary

Adds detection for branches without a `return` or `raise`, so that we
can properly `Optional` the return types. I'd like to remove this and
replace it with our code graph analysis from the `unreachable.rs` rule,
but it at least fixes the worst offenders.

Closes #8942.
2023-12-01 12:35:01 -05:00
..
src Detect implicit returns in auto-return-types (#8952) 2023-12-01 12:35:01 -05:00
tests Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
Cargo.toml Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00