Skip to content

Conversation

fchapoton
Copy link
Contributor

as suggested by ruff check --select=SIM113

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.

Copy link

github-actions bot commented Sep 29, 2025

Documentation preview for this PR (built with commit 6d4d7bf; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

by using join at the end

Co-authored-by: Martin Rubey <axiomize@yahoo.de>
return "0"

s = " + ".join(terms)
return s.replace("+ -", "- ")
Copy link
Contributor

Choose a reason for hiding this comment

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

the following lines should be removed, and there is whitespace. Sorry, that's an artefact of how github suggestions do not work :-(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

indeed.. now fixed

Copy link
Contributor

@mantepse mantepse left a comment

Choose a reason for hiding this comment

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

LGTM

@fchapoton
Copy link
Contributor Author

Danke schön !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants