-
Notifications
You must be signed in to change notification settings - Fork 903
/
ruff__rules__flake8_bugbear__tests__B905.py.snap
88 lines (78 loc) · 1.92 KB
/
ruff__rules__flake8_bugbear__tests__B905.py.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
source: crates/ruff/src/rules/flake8_bugbear/mod.rs
---
B905.py:4:1: B905 `zip()` without an explicit `strict=` parameter
|
3 | # Errors
4 | zip()
| ^^^^^ B905
5 | zip(range(3))
6 | zip("a", "b")
|
B905.py:5:1: B905 `zip()` without an explicit `strict=` parameter
|
3 | # Errors
4 | zip()
5 | zip(range(3))
| ^^^^^^^^^^^^^ B905
6 | zip("a", "b")
7 | zip("a", "b", *zip("c"))
|
B905.py:6:1: B905 `zip()` without an explicit `strict=` parameter
|
4 | zip()
5 | zip(range(3))
6 | zip("a", "b")
| ^^^^^^^^^^^^^ B905
7 | zip("a", "b", *zip("c"))
8 | zip(zip("a"), strict=False)
|
B905.py:7:1: B905 `zip()` without an explicit `strict=` parameter
|
5 | zip(range(3))
6 | zip("a", "b")
7 | zip("a", "b", *zip("c"))
| ^^^^^^^^^^^^^^^^^^^^^^^^ B905
8 | zip(zip("a"), strict=False)
9 | zip(zip("a", strict=True))
|
B905.py:7:16: B905 `zip()` without an explicit `strict=` parameter
|
5 | zip(range(3))
6 | zip("a", "b")
7 | zip("a", "b", *zip("c"))
| ^^^^^^^^ B905
8 | zip(zip("a"), strict=False)
9 | zip(zip("a", strict=True))
|
B905.py:8:5: B905 `zip()` without an explicit `strict=` parameter
|
6 | zip("a", "b")
7 | zip("a", "b", *zip("c"))
8 | zip(zip("a"), strict=False)
| ^^^^^^^^ B905
9 | zip(zip("a", strict=True))
|
B905.py:9:1: B905 `zip()` without an explicit `strict=` parameter
|
7 | zip("a", "b", *zip("c"))
8 | zip(zip("a"), strict=False)
9 | zip(zip("a", strict=True))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ B905
10 |
11 | # OK
|
B905.py:24:1: B905 `zip()` without an explicit `strict=` parameter
|
23 | # Errors (limited iterators).
24 | zip([1, 2, 3], repeat(1, 1))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ B905
25 | zip([1, 2, 3], repeat(1, times=4))
|
B905.py:25:1: B905 `zip()` without an explicit `strict=` parameter
|
23 | # Errors (limited iterators).
24 | zip([1, 2, 3], repeat(1, 1))
25 | zip([1, 2, 3], repeat(1, times=4))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ B905
|