Skip to content

chore(lint): weekly black/isort/flake8 sweep - #144

Draft
ringo380 wants to merge 1 commit into
mainfrom
chore/weekly-lint-20260831
Draft

ringo380 wants to merge 1 commit into
mainfrom
chore/weekly-lint-20260831

Conversation

@ringo380

Copy link
Copy Markdown
Owner

Summary

Auto-formatted by the QueryGrade weekly lint routine (black + isort across analyzer/ and querygrade/).

Files changed: 15 files changed, 58 insertions(+), 56 deletions(-)

  • black reformatted 12 files
  • isort fixed imports in 4 files

Outstanding flake8 findings (manual fix required)

flake8 produced 1172 findings across the codebase (mostly E501 line-too-long, plus some F401 unused imports and F841 unused variables). These require manual attention and are not addressed by this PR. A representative sample:

analyzer/admin/__init__.py:16:1: F401 '.ml_admin' imported but unused
analyzer/admin/__init__.py:16:1: F401 '.query_admin' imported but unused
analyzer/admin/__init__.py:16:1: F401 '.user_admin' imported but unused
analyzer/analyzers/base.py:19:1: F401 'django.core.cache.caches' imported but unused
analyzer/analyzers/base.py:158:9: F841 local variable 'start_time' is assigned to but never used
analyzer/admin/__init__.py:7:89: E501 line too long (94 > 88 characters)
analyzer/admin/ml_admin.py:250:89: E501 line too long (141 > 88 characters)
analyzer/analyzers/case_statement_analyzer.py:77:89: E501 line too long (154 > 88 characters)
... (1172 total findings — full output in CI logs)

Do NOT merge this PR without review — it is auto-generated by the weekly lint routine.


Generated by Claude Code

Auto-generated by the QueryGrade weekly lint routine.
Tooling: black + isort across analyzer/ and querygrade/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants