Skip to content

fix: remove needless line#280

Merged
vinitkumar merged 1 commit intovinitkumar:masterfrom
nievax:patch-1
Apr 6, 2026
Merged

fix: remove needless line#280
vinitkumar merged 1 commit intovinitkumar:masterfrom
nievax:patch-1

Conversation

@nievax
Copy link
Copy Markdown
Contributor

@nievax nievax commented Apr 5, 2026

Line 344 in dicttoxml.py was superfluous resp. a relict from delete commit a 3 years ago.

Summary by Sourcery

Bug Fixes:

  • Eliminate a superfluous line in dict2xml_str that performed a no-op join operation.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai bot commented Apr 5, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Removes a leftover, no-op line from dict2xml.py to clean up the dict2xml_str implementation.

File-Level Changes

Change Details Files
Remove a superfluous, side-effect-free join expression inside dict2xml_str to clean up the function body.
  • Delete the unused expression that joins item keys into a string without using the result
  • Keep initialization of ids and subtree unchanged to preserve behavior
json2xml/dicttoxml.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.91%. Comparing base (cc80191) to head (45cc8b0).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
- Coverage   95.92%   95.91%   -0.01%     
==========================================
  Files           5        5              
  Lines         466      465       -1     
==========================================
- Hits          447      446       -1     
  Misses         19       19              
Flag Coverage Δ
unittests 95.91% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vinitkumar
Copy link
Copy Markdown
Owner

Thank you for catching this @nievax :) Will merge this when the workflows pass.

Copy link
Copy Markdown
Owner

@vinitkumar vinitkumar left a comment

Choose a reason for hiding this comment

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

Looks good to me. Let's get this merged and released 🚢 🚀

@vinitkumar vinitkumar merged commit 33dc6ba into vinitkumar:master Apr 6, 2026
46 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