chore: remove dead json imports (#27815)

Fourteen modules import `json` without using it. Ruff flags every one with F401, and a word-boundary search for `json` in each file matches only the import line itself, including inside strings, comments and annotations.

Two exclusions, both deliberate. Migration files are left alone: the import is equally dead there, but those files are frozen history and not worth the churn. `models/chats.py` has the same dead import and is handled in its own change, so it is skipped here to avoid two changes touching the same line.

No behaviour change.
This commit is contained in:
Classic298
2026-07-31 17:25:40 -04:00
committed by GitHub
parent 1d6735ff0b
commit 6be11d4fc9
14 changed files with 0 additions and 14 deletions
-1
View File
@@ -1,4 +1,3 @@
import json
import time
import uuid
from functools import lru_cache