mirror of https://github.com/astral-sh/ruff
Remove rogue println
This commit is contained in:
parent
221f4304ad
commit
17c08523dc
|
|
@ -39,7 +39,6 @@ impl Checker<'_> {
|
|||
|
||||
impl Visitor for Checker<'_> {
|
||||
fn visit_stmt(&mut self, stmt: &Stmt) {
|
||||
println!("stmt: {:?}", stmt);
|
||||
match &stmt.node {
|
||||
StmtKind::Global { names } | StmtKind::Nonlocal { names } => {
|
||||
// TODO(charlie): Handle doctests.
|
||||
|
|
@ -658,8 +657,6 @@ impl Checker<'_> {
|
|||
_ => None,
|
||||
};
|
||||
|
||||
println!("{:?}", all_binding);
|
||||
|
||||
for (name, binding) in scope.values.iter().rev() {
|
||||
let used = binding.used.is_some()
|
||||
|| all_binding
|
||||
|
|
|
|||
Loading…
Reference in New Issue