Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease PEP 593 error to a debug warning #7745

Merged
merged 1 commit into from Oct 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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;
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