Skip to content

Commit 85398fa

Browse files
committed
Temporarily disable pylint "consider-using-enumerate" warning that came with version 1.8.x
1 parent 2c072c3 commit 85398fa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/funfuzz/autobisectjs/find_intersecting_changesets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def main(): # pylint: disable=missing-docstring
4545
broken_ranges = kbew.known_broken_ranges(options)
4646

4747
cnt = 0
48-
for i in range(0, len(broken_ranges)):
48+
for i in range(0, len(broken_ranges)): # pylint: disable=consider-using-enumerate
4949
print("Analyzing revset: %s which matches %s changesets" % (
5050
broken_ranges[i], count_csets(broken_ranges[i], repo_dir)))
5151
for j in range(i + 1, len(broken_ranges)):

src/funfuzz/js/compare_jit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def compareLevel(jsEngine, flags, infilename, logPrefix, options, showDetailedDi
105105

106106
commands = [[jsEngine] + combo + [infilename] for combo in combos]
107107

108-
for i in range(0, len(commands)):
108+
for i in range(0, len(commands)): # pylint: disable=consider-using-enumerate
109109
prefix = logPrefix + "-r" + str(i)
110110
command = commands[i]
111111
r = js_interesting.ShellResult(options, command, prefix, True) # pylint: disable=invalid-name

0 commit comments

Comments
 (0)