Skip to content

Commit 531e41a

Browse files
authored
Upgrade bitflags to remove clippy wanrings (#54)
* Upgrade bitflags to remove clippy wanrings * Fix python lint warnings
1 parent b48834f commit 531e41a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ast/asdl_rs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def composite_fields(self, header, fields, depth):
716716
name = rust_field(field.name)
717717
self.emit(f"{name},", depth + 1)
718718
self.emit("range,", depth + 1)
719-
self.emit(f"}})", depth)
719+
self.emit("})", depth)
720720

721721

722722
class FoldModuleVisitor(EmitVisitor):

format/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010
[dependencies]
1111
rustpython-literal = { workspace = true }
1212

13-
bitflags = "2.2.1"
13+
bitflags = "2.3.1"
1414
itertools = "0.10.5"
1515
num-bigint = { workspace = true }
1616
num-traits = { workspace = true }

0 commit comments

Comments
 (0)