ruff/crates/ruff_linter
Charlie Marsh be3307e9a6
Make unnecessary-paren-on-raise-exception an unsafe edit (#8231)
## Summary

This rule is now unsafe if we can't verify that the `obj` in `raise
obj()` is a class or builtin. (If we verify that it's a function, we
don't raise at all, as before.)

See the documentation change for motivation behind the unsafe edit.

Closes https://github.com/astral-sh/ruff/issues/8228.
2023-10-26 11:33:54 -04:00
..
resources/test Make unnecessary-paren-on-raise-exception an unsafe edit (#8231) 2023-10-26 11:33:54 -04:00
src Make unnecessary-paren-on-raise-exception an unsafe edit (#8231) 2023-10-26 11:33:54 -04:00
Cargo.toml Release 0.1.2 (#8168) 2023-10-24 15:21:29 +00:00