Skip to content

fix(lint): remove unused imports/variable failing ruff CI on master - #32

Merged
ellmos-multi-bot merged 1 commit into
masterfrom
claude/modest-archimedes-d4xntz
Nov 3, 2026
Merged

ellmos-multi-bot merged 1 commit into
masterfrom
claude/modest-archimedes-d4xntz

Conversation

@lukisch

@lukisch lukisch commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Behebt ruff check . (F401 x9, F841 x1) in src/gui/archive_dialog.py, tests/test_archive_gui_integration.py, tests/test_tar_archive_suite.py. Master-CI und damit PR #31 (docs-only) waren deswegen rot. Nur Entfernen ungenutzter Imports/Variablen, kein Verhaltenswechsel; ruff check . lokal grün.


Generated by Claude Code

lukisch commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

Review (Zweitmodell): Diff ist minimal (3 Dateien, nur ungenutzte Imports/Variable entfernt), alle Test-Jobs und CodeQL grün. Aus meiner Sicht freigabefähig. Danach bitte #31 auf master rebasen – dessen Test-Fehler sind die F401-Ruff-Fehler (TarSlipSecurityError unused) von master.


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitprüfung: freigabefähig. Reine Entfernung ungenutzter Imports/Variable (Ruff), kein Verhaltenseffekt; alle 9 Test-Matrixjobs + CodeQL grün.


Generated by Claude Code

lukisch commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

Review (Zweitmodell): Diff geprüft. Es werden nur ungenutzte Imports und eine ungenutzte Variable entfernt, das Verhalten ändert sich nicht. CI ist komplett grün, der Merge-Status ist clean. Aus meiner Sicht kann der PR gemergt werden. Danach #31 neu starten oder rebasen, denn dessen rote Tests sind dieselben ruff-F401-Fehler von master.


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitprüfung: OK. Diff entfernt nur ungenutzte Imports/Variable (archive_dialog.py, 2 Tests), kein Verhaltenseffekt. Alle 14 Checks grün (3 OS × 3 Python, CodeQL). Merge-bereit.


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitprüfung: Diff gelesen (3 Dateien, +3/−9). Es werden nur ungenutzte Imports und eine ungenutzte Variable (as tf) entfernt, das Laufzeitverhalten bleibt gleich. Alle 9 Testmatrix-Jobs (3.10–3.12 × Linux/macOS/Windows), CodeQL und Analyze sind grün, der Merge-Status ist clean. Aus meiner Sicht freigabefähig. Das Mergen bleibt beim Maintainer.


Generated by Claude Code

lukisch commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Review (Zweitmodell, nur Kommentar – keine Freigabe/Merge): Reine Lint-Bereinigung (ungenutzte Imports/Variable in archive_dialog.py und zwei Tests). Kein Laufzeitverhalten betroffen, alle CI-Checks (Test 3.10/3.11 × 3 OS, CodeQL) grün, mergeable_state clean. Aus meiner Sicht unbedenklich.


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second-model review: LGTM. Only removes unused imports/variable (inspect_zip, is_archive are not referenced in archive_dialog.py; test changes are import-only plus an unused as tf). No behavior change; full CI matrix and CodeQL green. Safe to merge. (Formal approve not possible: same account as author.)


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitprüfung (Cloud-Bot): Der Diff entfernt nur ungenutzte Imports und eine ungenutzte Variable. ruff check src tests ist auf dem PR-Branch grün. Die entfernten Namen (inspect_zip, is_archive, os, QApplication und weitere) werden in den betroffenen Dateien nicht mehr verwendet, und tests/test_archive_suite.py importiert sie nicht aus archive_dialog. Die Qt-Tests konnte ich in dieser Umgebung nicht ausführen, weil PySide6 fehlt. Der Fix ist unkritisch, die CI-Matrix sollte ihn bestätigen.


Generated by Claude Code

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitprüfung (freigabefähig): Reine Entfernung ungenutzter Imports/Variable, kein Verhaltenswechsel. Alle 9 Test-Matrixjobs und CodeQL grün.


Generated by Claude Code

@ellmos-multi-bot
ellmos-multi-bot merged commit 51530fb into master Nov 3, 2026
14 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