Skip to content

Commit 04a376a

Browse files
authored
Update flake8 version. NFC (#8126)
1 parent bc7632d commit 04a376a

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
# Install with `pip3 install -r requirements-dev.txt`
55

6-
flake8==7.1.1
6+
flake8==7.3.0
77
filecheck==0.0.22
88
lit==0.11.0.post1

scripts/fuzz_opt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,6 @@ def can_compare_to_other(self, other):
971971
]
972972

973973
def handle_pair(self, input, before_wasm, after_wasm, opts):
974-
global ignored_vm_runs
975-
976974
before = self.run_vms(before_wasm)
977975

978976
after = self.run_vms(after_wasm)

scripts/gen-s-parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ def insert(self, inst, expr):
757757

758758
def instruction_parser():
759759
"""Build a trie out of all the instructions, then emit it as C++ code."""
760-
global instructions
761760
trie = Node()
762761
inst_length = 0
763762
for inst, expr in instructions:

scripts/test/shared.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def parse_args(args):
114114

115115

116116
def warn(text):
117-
global warnings
118117
warnings.append(text)
119118
print('warning:', text, file=sys.stderr)
120119

0 commit comments

Comments
 (0)