From 531e41ae2cfa6f52160ef40ddbe3d12fda902303 Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Thu, 18 May 2023 01:50:00 +0900 Subject: [PATCH] Upgrade bitflags to remove clippy wanrings (#54) * Upgrade bitflags to remove clippy wanrings * Fix python lint warnings --- ast/asdl_rs.py | 2 +- format/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ast/asdl_rs.py b/ast/asdl_rs.py index a558500d64..f1b2b91f51 100755 --- a/ast/asdl_rs.py +++ b/ast/asdl_rs.py @@ -716,7 +716,7 @@ class FoldImplVisitor(EmitVisitor): name = rust_field(field.name) self.emit(f"{name},", depth + 1) self.emit("range,", depth + 1) - self.emit(f"}})", depth) + self.emit("})", depth) class FoldModuleVisitor(EmitVisitor): diff --git a/format/Cargo.toml b/format/Cargo.toml index 4a008f6e25..931a73093c 100644 --- a/format/Cargo.toml +++ b/format/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT" [dependencies] rustpython-literal = { workspace = true } -bitflags = "2.2.1" +bitflags = "2.3.1" itertools = "0.10.5" num-bigint = { workspace = true } num-traits = { workspace = true }