chore(lint): weekly black/isort/flake8 sweep - #142
Draft
ringo380 wants to merge 1 commit into
Draft
Conversation
Auto-generated by the QueryGrade weekly lint routine. Tooling: black + isort across analyzer/ and querygrade/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Auto-generated by the QueryGrade weekly lint routine. Ran
blackandisortacrossanalyzer/andquerygrade/; no logic changes.Diffstat: 15 files changed, 58 insertions(+), 56 deletions(-)
Type of Change
Related Issues
N/A — recurring maintenance sweep.
Changes Made
black analyzer/ querygrade/reformatted 12 files.isort analyzer/ querygrade/re-sorted imports in 4 files (some overlap with black).analyzer/andquerygrade/.Files touched:
Testing
python manage.py test)Formatting-only diff — leaving verification to CI / reviewer.
Test Configuration
N/A — no runtime behavior changed.
ML Model Changes (if applicable)
N/A.
Screenshots (if applicable)
N/A.
Checklist
Additional Notes
Outstanding flake8 findings (manual fix required)
flake8 analyzer/ querygrade/reported 1172 findings that black/isort cannot auto-fix. Breakdown by code:from module import *usedTop 10 files by finding count:
analyzer/management/commands/seed_training_data.pyanalyzer/ml/analysis/pattern_library.pyanalyzer/ml/integration/benchmark_generator.pyanalyzer/analyzers/wildcard_analyzer.pyanalyzer/analyzers/groupby_analyzer.pyanalyzer/ml/optimization/query_rewriter.pyanalyzer/analyzers/window_function_analyzer.pyanalyzer/analyzers/case_statement_analyzer.pyanalyzer/analyzers/indexing_analyzer.pyanalyzer/query_optimizer.pyThe two
F821(undefined name) findings are the most worth triaging first — those are latent bugs, not style. Everything else is a cleanup backlog to burn down opportunistically.Generated by Claude Code