Skip to content

fix(scripts): clean unused imports and tuple optimizations in check_readme.py - #936

Open
aoright wants to merge 1 commit into
practical-tutorials:masterfrom
aoright:fix/check-readme-script-cleanups
Open

fix(scripts): clean unused imports and tuple optimizations in check_readme.py#936
aoright wants to merge 1 commit into
practical-tutorials:masterfrom
aoright:fix/check-readme-script-cleanups

Conversation

@aoright

@aoright aoright commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove unused timezone import in scripts/check_readme.py and sort imports according to PEP 8.
  • Sort Diagnostic.__slots__ naturally and optimize raw.startswith(("+++", "---")) with prefix tuples.
  • Parenthesize implicit string literal concatenation within array in render_prune_pr_body.

…eadme.py

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
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.

1 participant