Skip to content

Commit

Permalink
Decrease PEP 593 error to a debug warning
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Oct 1, 2023
1 parent d8a6279 commit a3ff56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_linter/src/checkers/ast/mod.rs
Expand Up @@ -29,7 +29,7 @@
use std::path::Path;

use itertools::Itertools;
use log::error;
use log::{debug, error};
use ruff_python_ast::{
self as ast, Arguments, Comprehension, Constant, ElifElseClause, ExceptHandler, Expr,
ExprContext, Keyword, MatchCase, Parameter, ParameterWithDefault, Parameters, Pattern, Stmt,
Expand Down Expand Up @@ -1176,7 +1176,7 @@ where
self.visit_expr_context(ctx);
}
} else {
error!("Found non-Expr::Tuple argument to PEP 593 Annotation.");
debug!("Found non-Expr::Tuple argument to PEP 593 Annotation.");
}
}
None => {
Expand Down

0 comments on commit a3ff56f

Please sign in to comment.