Skip to content

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

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

chore(lint): weekly black/isort/flake8 sweep#97
ringo380 wants to merge 1 commit into
mainfrom
chore/weekly-lint-20260608

Conversation

@ringo380

@ringo380 ringo380 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

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

Files changed: 3 files changed, 8 insertions(+), 4 deletions(-)

  • analyzer/urls.py — import order fixed by isort
  • analyzer/views/ml_alert_views.py — import order fixed by isort
  • analyzer/ml/tests/test_alert_notifier.py — import order fixed by isort

black found no formatting issues (207 files left unchanged).


Outstanding flake8 findings (manual fix required)

1182 total findings across analyzer/ and querygrade/. Breakdown by error code:

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

These require manual review and are not auto-fixable by black/isort.


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