fix(ci): resolve ruff linter and format errors#15
Merged
Conversation
- Move warnings.warn() after imports to fix E402 in viewer files - Remove unused imports (Any, base64, os, Service) to fix F401 - Remove f-string without placeholders to fix F541 - Apply ruff formatting to 5 files Files changed (7): - benchmarks/viewer.py - E402 fix - benchmarks/waa_deploy/api_agent.py - F401 + format - benchmarks/azure_ops_tracker.py - format only - benchmarks/vm_monitor.py - format only - cloud/local.py - format only - scripts/capture_screenshots.py - F401, F541 + format - training/viewer.py - E402 fix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
Fix CI failures by resolving all ruff linter and format errors.
Changes
warnings.warn()after imports in deprecated viewer filesAny,base64,os,ServiceimportsFiles Changed (7)
benchmarks/viewer.pytraining/viewer.pybenchmarks/waa_deploy/api_agent.pyscripts/capture_screenshots.pybenchmarks/azure_ops_tracker.pybenchmarks/vm_monitor.pycloud/local.pyTest Plan
uv run ruff check openadapt_ml/passesuv run ruff format --check openadapt_ml/passescli.py(critical path preserved)🤖 Generated with Claude Code