Skip to content

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

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

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

Conversation

@ringo380

Copy link
Copy Markdown
Owner

Summary

Auto-generated by the QueryGrade weekly lint routine (2026-08-24).

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

Tools applied: black + isort across analyzer/ and querygrade/.

Files reformatted by black (12): analyzer/management/commands/process_ml_feedback.py, analyzer/management/commands/train_ml_model.py, analyzer/migrations/0008_mlmodelartifact.py, analyzer/ml/core/hybrid_grader.py, analyzer/ml/core/training_gates.py, analyzer/ml/core/training_pipeline.py, analyzer/ml/tests/test_model_storage.py, analyzer/ml/tests/test_process_ml_feedback_command.py, analyzer/ml/tests/test_training_gates.py, analyzer/test_analytics.py, analyzer/test_seo.py, querygrade/settings.py

Files fixed by isort (4): analyzer/urls.py, analyzer/views/ml_alert_views.py, analyzer/migrations/0008_mlmodelartifact.py, analyzer/ml/tests/test_alert_notifier.py

Outstanding flake8 findings (manual fix required)

1,172 findings across analyzer/ and querygrade/ — all require manual attention. Breakdown by code:

Code Count Description
E501 737 Line too long (> 88 chars)
F401 329 Imported but unused
F841 51 Local variable assigned but never used
F541 19 f-string without placeholders
F405 14 May be undefined from star import
E402 8 Module level import not at top of file
F811 7 Redefinition of unused name
F403 5 Star import used
F821 2 Undefined name

Do NOT merge — leave for human review.


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