2
2
source : crates / ruff_linter / src / rules / flake8_pytest_style / mod .rs
3
3
snapshot_kind : text
4
4
-- -
5
- PT006 .py :9 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
5
+ PT006 .py :9 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
6
6
|
7
7
9 | @pytest .mark .parametrize (" param1,param2" , [(1 , 2 ), (3 , 4 )])
8
8
| ^^^^^^^^^^^^^^^ PT006
@@ -21,7 +21,7 @@ PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.pa
21
21
11 11 | ...
22
22
12 12 |
23
23
24
- PT006 .py :14 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
24
+ PT006 .py :14 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
25
25
|
26
26
14 | @pytest .mark .parametrize (" param1, , param2 , " , [(1 , 2 ), (3 , 4 )])
27
27
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -40,7 +40,7 @@ PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
40
40
16 16 | ...
41
41
17 17 |
42
42
43
- PT006 .py :19 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
43
+ PT006 .py :19 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
44
44
|
45
45
19 | @pytest .mark .parametrize (" param1,param2" , [(1 , 2 ), (3 , 4 )])
46
46
| ^^^^^^^^^^^^^^^ PT006
@@ -59,7 +59,7 @@ PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
59
59
21 21 | ...
60
60
22 22 |
61
61
62
- PT006 .py :29 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` str`
62
+ PT006 .py :29 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` str`
63
63
|
64
64
29 | @pytest .mark .parametrize ((" param1" ,), [1 , 2 , 3 ])
65
65
| ^^^^^^^^^^^ PT006
@@ -78,7 +78,7 @@ PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
78
78
31 31 | ...
79
79
32 32 |
80
80
81
- PT006 .py :34 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
81
+ PT006 .py :34 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
82
82
|
83
83
34 | @pytest .mark .parametrize ([" param1" , " param2" ], [(1 , 2 ), (3 , 4 )])
84
84
| ^^^^^^^^^^^^^^^^^^^^ PT006
@@ -97,7 +97,7 @@ PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
97
97
36 36 | ...
98
98
37 37 |
99
99
100
- PT006 .py :39 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` str`
100
+ PT006 .py :39 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` str`
101
101
|
102
102
39 | @pytest .mark .parametrize ([" param1" ], [1 , 2 , 3 ])
103
103
| ^^^^^^^^^^ PT006
@@ -116,7 +116,7 @@ PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
116
116
41 41 | ...
117
117
42 42 |
118
118
119
- PT006 .py :44 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
119
+ PT006 .py :44 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
120
120
|
121
121
44 | @pytest .mark .parametrize ([some_expr , another_expr ], [1 , 2 , 3 ])
122
122
| ^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -135,7 +135,7 @@ PT006.py:44:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
135
135
46 46 | ...
136
136
47 47 |
137
137
138
- PT006 .py :49 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
138
+ PT006 .py :49 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
139
139
|
140
140
49 | @pytest .mark .parametrize ([some_expr , " param2" ], [1 , 2 , 3 ])
141
141
| ^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -154,7 +154,7 @@ PT006.py:49:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
154
154
51 51 | ...
155
155
52 52 |
156
156
157
- PT006 .py :54 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
157
+ PT006 .py :54 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
158
158
|
159
159
54 | @pytest .mark .parametrize ((" param1, " " param2, " " param3" ), [(1 , 2 , 3 ), (4 , 5 , 6 )])
160
160
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -173,7 +173,7 @@ PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
173
173
56 56 | ...
174
174
57 57 |
175
175
176
- PT006 .py :59 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
176
+ PT006 .py :59 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
177
177
|
178
178
59 | @pytest .mark .parametrize (" param1, " " param2, " " param3" , [(1 , 2 , 3 ), (4 , 5 , 6 )])
179
179
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -192,7 +192,7 @@ PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
192
192
61 61 | ...
193
193
62 62 |
194
194
195
- PT006 .py :64 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
195
+ PT006 .py :64 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
196
196
|
197
197
64 | @pytest .mark .parametrize (((" param1, " " param2, " " param3" )), [(1 , 2 , 3 ), (4 , 5 , 6 )])
198
198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -211,7 +211,7 @@ PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
211
211
66 66 | ...
212
212
67 67 |
213
213
214
- PT006 .py :69 :26 : PT006 [* ] Wrong type passed to first argument of `@ pytest .mark .parametrize `; expected ` tuple`
214
+ PT006 .py :69 :26 : PT006 [* ] Wrong type passed to first argument of `pytest .mark .parametrize `; expected ` tuple`
215
215
|
216
216
69 | @pytest .mark .parametrize ((" param1,param2" ), [(1 , 2 ), (3 , 4 )])
217
217
| ^^^^^^^^^^^^^^^^^ PT006
0 commit comments