chore(lint): weekly black/isort/flake8 sweep - #139
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 weekly lint sweep using black + isort across
analyzer/andquerygrade/. No functional changes — formatting and import ordering only.Type of Change
Related Issues
N/A — automated routine
Changes Made
blackauto-formatting to 12 filesisortimport ordering to 4 filesFiles touched:
analyzer/management/commands/process_ml_feedback.pyanalyzer/management/commands/train_ml_model.pyanalyzer/migrations/0008_mlmodelartifact.pyanalyzer/ml/core/hybrid_grader.pyanalyzer/ml/core/training_gates.pyanalyzer/ml/core/training_pipeline.pyanalyzer/ml/tests/test_alert_notifier.pyanalyzer/ml/tests/test_model_storage.pyanalyzer/ml/tests/test_process_ml_feedback_command.pyanalyzer/ml/tests/test_training_gates.pyanalyzer/test_analytics.pyanalyzer/test_seo.pyanalyzer/urls.pyanalyzer/views/ml_alert_views.pyquerygrade/settings.pyTesting
python manage.py test)Checklist
Outstanding flake8 findings (manual fix required)
flake8 reported 1,172 findings across
analyzer/andquerygrade/. These require manual attention and are not addressed by this PR. Common categories:E501— lines exceeding 88 characters (majority of findings)F401— unused importsF841— local variables assigned but never usedE402— module-level imports not at top of fileW291/W293— trailing whitespace (in comments/strings black doesn't touch)Sample (first 20):
Generated by Claude Code