mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Avoid generating empty statement bodies (#700)
This commit is contained in:
parent
6bcc11a90f
commit
bbc38fea73
16 changed files with 94 additions and 55 deletions
|
@ -4,6 +4,7 @@ use crate::check_ast::Checker;
|
|||
use crate::pyupgrade;
|
||||
use crate::pyupgrade::checks;
|
||||
|
||||
/// U004
|
||||
pub fn useless_object_inheritance(
|
||||
checker: &mut Checker,
|
||||
stmt: &Stmt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue