@@ -20,7 +20,6 @@ help: Combine `with` statements
20204 |
21215 | # SIM117
22226 | with A ():
23- note : This is an unsafe fix and may change runtime behavior
2423
2524SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
2625 -- > SIM117 .py :7 :1
@@ -46,7 +45,6 @@ help: Combine `with` statements
464510 |
474611 | # SIM117
484712 | with A () as a :
49- note : This is an unsafe fix and may change runtime behavior
5048
5149SIM117 Use a single ` with` statement with multiple contexts instead of nested ` with` statements
5250 -- > SIM117 .py :13 :1
@@ -84,7 +82,6 @@ help: Combine `with` statements
848222 |
858323 | # OK
868424 | with A () as a :
87- note : This is an unsafe fix and may change runtime behavior
8885
8986SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
9087 -- > SIM117 .py :47 :1
@@ -107,7 +104,6 @@ help: Combine `with` statements
10710449 |
10810550 | while True :
10910651 | # SIM117
110- note : This is an unsafe fix and may change runtime behavior
111107
112108SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
113109 -- > SIM117 .py :53 :5
@@ -144,7 +140,6 @@ help: Combine `with` statements
14414064 | " this for some reason" )
14514165 |
14614266 | # SIM117
147- note : This is an unsafe fix and may change runtime behavior
148143
149144SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
150145 -- > SIM117 .py :68 :1
@@ -171,7 +166,6 @@ help: Combine `with` statements
17116673 |
17216774 | # SIM117
17316875 | with A () as a :
174- note : This is an unsafe fix and may change runtime behavior
175169
176170SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
177171 -- > SIM117 .py :76 :1
@@ -203,7 +197,6 @@ help: Combine `with` statements
20319781 |
20419882 | # SIM117
20519983 | with (
206- note : This is an unsafe fix and may change runtime behavior
207200
208201SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
209202 -- > SIM117 .py :84 :1
@@ -237,7 +230,6 @@ help: Combine `with` statements
23723090 |
23823191 | # SIM117 (auto - fixable )
23923292 | with A (" 01ß9💣2ℝ8901ß9💣2ℝ8901ß9💣2ℝ89" ) as a :
240- note : This is an unsafe fix and may change runtime behavior
241233
242234SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
243235 -- > SIM117 .py :95 :1
@@ -260,7 +252,6 @@ help: Combine `with` statements
26025297 |
26125398 | # SIM117 (not auto - fixable too long )
26225499 | with A (" 01ß9💣2ℝ8901ß9💣2ℝ8901ß9💣2ℝ890" ) as a :
263- note : This is an unsafe fix and may change runtime behavior
264255
265256SIM117 Use a single ` with` statement with multiple contexts instead of nested ` with` statements
266257 -- > SIM117 .py :100 :1
@@ -319,7 +310,6 @@ help: Combine `with` statements
319310136 |
320311137 | # Allow cascading for some statements .
321312138 | import anyio
322- note : This is an unsafe fix and may change runtime behavior
323313
324314SIM117 [* ] Use a single ` with` statement with multiple contexts instead of nested ` with` statements
325315 -- > SIM117 .py :163 :1
@@ -339,4 +329,3 @@ help: Combine `with` statements
339329 - pass
340330163 + async with asyncio .timeout (1 ), A (), B ():
341331164 + pass
342- note : This is an unsafe fix and may change runtime behavior
0 commit comments