| 1 |
# Test file for Ruff code actions |
| 2 |
import os |
| 3 |
import sys # This is unused - Ruff should offer to remove it |
| 4 |
import json # Also unused |
| 5 |
|
| 6 |
x = 1 |
| 7 |
y = 2 # y is assigned but never used |
| 8 |
print(x) |
| 9 |
|
| 10 |
def foo(): |
| 11 |
z = 10 # assigned but never used |
| 12 |
return "hello" |