Skip to content

Fix ruff linting errors causing CI failures#4

Merged
Dead-WaRior merged 2 commits intomainfrom
copilot/qa-debugging-techniques-tools
Mar 7, 2026
Merged

Fix ruff linting errors causing CI failures#4
Dead-WaRior merged 2 commits intomainfrom
copilot/qa-debugging-techniques-tools

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

CI was failing due to 12 ruff violations (F401 unused imports, F841 unused variable) introduced across the ingestion and prediction layers.

Changes

  • ingestion/api.py — remove RiskAlert, TrackObject, base64, cv2, numpy (all live in worker.py, not here)
  • ingestion/database.py — remove datetime, timezone, Optional, Any (only List is used)
  • ingestion/worker.py — remove datetime, timezone (unreferenced in this module)
  • prediction/pipeline.py — drop dead assignment current = sat_state.copy(); propagate_state was already called with the original sat_state directly, making current a no-op

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • redis
    • Triggering command: /home/REDACTED/.local/bin/pytest pytest tests/ -v --tb=short (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Dead-WaRior <196463898+Dead-WaRior@users.noreply.github.com>
Copilot AI changed the title [WIP] Document QA testing and debugging techniques used in the project Fix ruff linting errors causing CI failures Mar 7, 2026
@Dead-WaRior Dead-WaRior marked this pull request as ready for review March 7, 2026 09:51
@Dead-WaRior Dead-WaRior merged commit 6c9f86e into main Mar 7, 2026
4 checks passed
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