mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Add support for TryStar (#3089)
This commit is contained in:
parent
50ec6d3b0f
commit
cdc4e86158
30 changed files with 289 additions and 15 deletions
|
@ -81,6 +81,7 @@ impl<'a> Visitor<'a> for ParenthesesNormalizer {
|
|||
StmtKind::Match { .. } => {}
|
||||
StmtKind::Raise { .. } => {}
|
||||
StmtKind::Try { .. } => {}
|
||||
StmtKind::TryStar { .. } => {}
|
||||
StmtKind::Assert { test, msg } => {
|
||||
use_inferred_parens(test);
|
||||
if let Some(msg) = msg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue