| 1 | # Test file for code actions - should offer "add import" suggestions |
| 2 | |
| 3 | # Using datetime without importing it - Pyright should offer to add import |
| 4 | today = datetime.date.today() |
| 5 | |
| 6 | # Using Path without importing - should offer to add import |
| 7 | p = Path("/tmp/test.txt") |
| 8 | |
| 9 | # Using json without importing - should offer to add import |
| 10 | data = json.loads('{"key": "value"}') |
| 11 | |
| 12 | # Using os without importing - should offer to add import |
| 13 | cwd = os.getcwd() |