Skip to content

scripts : log instead of print in gather_required_libs.py - #114

Merged
gaetan-puleo merged 1 commit into
masterfrom
fix/rocm-release-lint
Oct 6, 2026
Merged

gaetan-puleo merged 1 commit into
masterfrom
fix/rocm-release-lint

Conversation

@dzannotti

Copy link
Copy Markdown
Collaborator

Overview

Lint (flake8 with flake8-no-print, rule NP100) fails on master since #112 added scripts/rocm-release/gather_required_libs.py with three print() calls. This switches them to the logging module, like scripts/compare-logprobs.py and scripts/server-bench.py. Output is unchanged, since the format is %(message)s at INFO.

Measurements

Not applicable: a lint fix in a helper script that CI never runs.

Correctness: flake8 4.0.1 with flake8-no-print on the file passes locally (rc 0), and the file parses.

Requirements


Comment generated via automated review of clanker Claude Code.

🤖 Generated with Claude Code

The Lint job (flake8-no-print, NP100) fails on master since #112 added this
script with print() calls. Use the logging module like the other scripts.

Assisted-by: Claude Opus 5.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@iggy iggy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@gaetan-puleo
gaetan-puleo merged commit 4e0d917 into master Oct 6, 2026
16 of 19 checks passed
@gaetan-puleo
gaetan-puleo deleted the fix/rocm-release-lint branch October 6, 2026 21:33
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.

3 participants