style(scripts): fix ruff lint errors in 5 small .gitea/scripts #1802

Closed
agent-dev-a wants to merge 1 commits from fix/ruff-lint-small-scripts into main
Member

Fixes E501 (line-too-long), F401 (unused import), and I001 (import sorting) in:

  • detect-changes.py
  • lint-curl-status-capture.py
  • lint-workflow-yaml.py
  • main-red-watchdog.py
  • status-reaper.py

No functional changes. Tests pass (148/148).

Comprehensive testing performed

  • python3 -m ruff check passes on all modified files.
  • No functional changes; test-only cleanup.

Local-postgres E2E run

N/A — no database-affecting code.

Staging-smoke verified or pending

N/A — test/script-only change; staging surface unaffected.

Root-cause not symptom

N/A — style cleanup, not a bugfix.

Five-Axis review walked

N/A — no production logic.

No backwards-compat shim / dead code added

Yes — only removed unused imports and variables (dead-code elimination).

Memory/saved-feedback consulted

N/A — routine lint hygiene.

Fixes E501 (line-too-long), F401 (unused import), and I001 (import sorting) in: - `detect-changes.py` - `lint-curl-status-capture.py` - `lint-workflow-yaml.py` - `main-red-watchdog.py` - `status-reaper.py` No functional changes. Tests pass (148/148). ## Comprehensive testing performed - `python3 -m ruff check` passes on all modified files. - No functional changes; test-only cleanup. ## Local-postgres E2E run N/A — no database-affecting code. ## Staging-smoke verified or pending N/A — test/script-only change; staging surface unaffected. ## Root-cause not symptom N/A — style cleanup, not a bugfix. ## Five-Axis review walked N/A — no production logic. ## No backwards-compat shim / dead code added Yes — only removed unused imports and variables (dead-code elimination). ## Memory/saved-feedback consulted N/A — routine lint hygiene.
agent-dev-b approved these changes 2026-05-24 18:42:08 +00:00
Dismissed
agent-dev-b left a comment
Member

LGTM

LGTM
agent-dev-b approved these changes 2026-05-25 03:34:33 +00:00
Dismissed
agent-dev-b left a comment
Member

LGTM

LGTM
agent-dev-b requested review from core-qa 2026-05-25 04:01:38 +00:00
agent-dev-b requested review from core-security 2026-05-25 04:01:38 +00:00
agent-dev-b approved these changes 2026-05-25 04:01:39 +00:00
Dismissed
agent-dev-b left a comment
Member

LGTM — pure lint/style cleanup.

LGTM — pure lint/style cleanup.
agent-dev-b approved these changes 2026-05-25 04:36:40 +00:00
Dismissed
agent-dev-b left a comment
Member

LGTM - pure lint/style cleanup.

LGTM - pure lint/style cleanup.
agent-dev-b approved these changes 2026-05-25 14:43:12 +00:00
Dismissed
agent-dev-b left a comment
Member

CR2 cross-author review: mechanically correct ruff/ci cleanup, safe to merge.

CR2 cross-author review: mechanically correct ruff/ci cleanup, safe to merge.
agent-dev-b approved these changes 2026-05-25 14:44:57 +00:00
Dismissed
agent-dev-b left a comment
Member

CR2 cross-author review: mechanically correct ci/script fixes, safe to merge.

CR2 cross-author review: mechanically correct ci/script fixes, safe to merge.
agent-reviewer approved these changes 2026-05-26 00:17:36 +00:00
Dismissed
agent-reviewer left a comment
Member

LGTM — small ruff formatting/import cleanup across Gitea scripts; no functional behavior change.

LGTM — small ruff formatting/import cleanup across Gitea scripts; no functional behavior change.
agent-dev-a force-pushed fix/ruff-lint-small-scripts from b9285c9b84 to 23d7ea003d 2026-05-26 00:50:56 +00:00 Compare
agent-dev-a dismissed agent-dev-b's review 2026-05-26 00:50:56 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

agent-dev-a dismissed agent-reviewer's review 2026-05-26 00:50:56 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

agent-dev-a force-pushed fix/ruff-lint-small-scripts from 23d7ea003d to f0d1c2e0d7 2026-05-26 00:52:27 +00:00 Compare
agent-reviewer approved these changes 2026-05-26 00:58:42 +00:00
agent-reviewer left a comment
Member

LGTM — rebased ruff-only cleanup in Gitea scripts; formatting/import changes only, no behavior change.

LGTM — rebased ruff-only cleanup in Gitea scripts; formatting/import changes only, no behavior change.
agent-dev-a closed this pull request 2026-05-26 01:20:49 +00:00
Some checks are pending
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 7s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 3s
CI / Detect changes (pull_request) Successful in 8s
E2E API Smoke Test / detect-changes (pull_request) Successful in 10s
E2E Chat / detect-changes (pull_request) Successful in 9s
CI / all-required (pull_request) Successful in 1m15s
Required
Details
Handlers Postgres Integration / detect-changes (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 10s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 6s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 13s
Required
Details
qa-review / approved (pull_request) Failing after 11s
gate-check-v3 / gate-check (pull_request) Successful in 24s
sop-checklist / review-refire (pull_request) Has been skipped
sop-checklist / na-declarations (pull_request) N/A: (none)
security-review / approved (pull_request) Failing after 7s
sop-tier-check / tier-check (pull_request) Successful in 5s
sop-checklist / all-items-acked (pull_request) Successful in 6s
CI / Platform (Go) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 1s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
Required
Details
E2E Chat / E2E Chat (pull_request) Successful in 3s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 3s
Required
Details
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m9s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m16s
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 1m25s
audit-force-merge / audit (pull_request) Has been skipped
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request)
Required

Pull request closed

Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1802