22source : crates / ruff_linter / src / rules / flake8_pytest_style / mod .rs 
33snapshot_kind : text 
44-- - 
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` 
66 | 
77 9  |  @pytest .mark .parametrize (" param1,param2"  , [(1 , 2 ), (3 , 4 )])
88 |  ^^^^^^^^^^^^^^^  PT006 
@@ -21,7 +21,7 @@ PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.pa
212111  11  |  ... 
222212  12  |  
2323
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` 
2525 | 
262614  |  @pytest .mark .parametrize ("  param1, , param2 , "  , [(1 , 2 ), (3 , 4 )])
2727 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -40,7 +40,7 @@ PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
404016  16  |  ... 
414117  17  |  
4242
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` 
4444 | 
454519  |  @pytest .mark .parametrize (" param1,param2"  , [(1 , 2 ), (3 , 4 )])
4646 |  ^^^^^^^^^^^^^^^  PT006 
@@ -59,7 +59,7 @@ PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
595921  21  |  ... 
606022  22  |  
6161
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` 
6363 | 
646429  |  @pytest .mark .parametrize ((" param1"  ,), [1 , 2 , 3 ])
6565 |  ^^^^^^^^^^^  PT006 
@@ -78,7 +78,7 @@ PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
787831  31  |  ... 
797932  32  |  
8080
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` 
8282 | 
838334  |  @pytest .mark .parametrize ([" param1"  , " param2"  ], [(1 , 2 ), (3 , 4 )])
8484 |  ^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -97,7 +97,7 @@ PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
979736  36  |  ... 
989837  37  |  
9999
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` 
101101 | 
10210239  |  @pytest .mark .parametrize ([" param1"  ], [1 , 2 , 3 ])
103103 |  ^^^^^^^^^^  PT006 
@@ -116,7 +116,7 @@ PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
11611641  41  |  ... 
11711742  42  |  
118118
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` 
120120 | 
12112144  |  @pytest .mark .parametrize ([some_expr , another_expr ], [1 , 2 , 3 ])
122122 |  ^^^^^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -135,7 +135,7 @@ PT006.py:44:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
13513546  46  |  ... 
13613647  47  |  
137137
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` 
139139 | 
14014049  |  @pytest .mark .parametrize ([some_expr , " param2"  ], [1 , 2 , 3 ])
141141 |  ^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -154,7 +154,7 @@ PT006.py:49:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
15415451  51  |  ... 
15515552  52  |  
156156
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` 
158158 | 
15915954  |  @pytest .mark .parametrize ((" param1, "   " param2, "   " param3"  ), [(1 , 2 , 3 ), (4 , 5 , 6 )])
160160 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -173,7 +173,7 @@ PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
17317356  56  |  ... 
17417457  57  |  
175175
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` 
177177 | 
17817859  |  @pytest .mark .parametrize (" param1, "   " param2, "   " param3"  , [(1 , 2 , 3 ), (4 , 5 , 6 )])
179179 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -192,7 +192,7 @@ PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
19219261  61  |  ... 
19319362  62  |  
194194
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` 
196196 | 
19719764  |  @pytest .mark .parametrize (((" param1, "   " param2, "   " param3"  )), [(1 , 2 , 3 ), (4 , 5 , 6 )])
198198 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  PT006 
@@ -211,7 +211,7 @@ PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
21121166  66  |  ... 
21221267  67  |  
213213
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` 
215215 | 
21621669  |  @pytest .mark .parametrize ((" param1,param2"  ), [(1 , 2 ), (3 , 4 )])
217217 |  ^^^^^^^^^^^^^^^^^  PT006 
0 commit comments