Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor gx.Track and gx.Multitrack (Sourcery refactored) #244

Closed
wants to merge 1 commit into from

Conversation

sourcery-ai[bot]
Copy link
Contributor

@sourcery-ai sourcery-ai bot commented Oct 15, 2023

Pull Request #243 refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

NOTE: As code is pushed to the original Pull Request, Sourcery will
re-run and update (force-push) this Pull Request with new refactorings as
necessary. If Sourcery finds no refactorings at any point, this Pull Request
will be closed automatically.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the refactor-gx branch, then run:

git fetch origin sourcery/refactor-gx
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

@sourcery-ai sourcery-ai bot requested a review from cleder October 15, 2023 17:34
@watermelon-copilot-for-code-review

@what-the-diff
Copy link

what-the-diff bot commented Oct 15, 2023

PR Summary

  • Modification in fastkml/kml.py File
    The feature's geometry property in the fastkml/kml.py file has been updated. Now, it secures and returns the layout, design or model of the feature if it is available. If not, it will return nothing. This enhancement will ensure a better user experience by delivering more accurate and consistent results.

@ghost
Copy link

ghost commented Oct 15, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@sourcery-ai sourcery-ai bot force-pushed the sourcery/refactor-gx branch from 1556971 to f45ade7 Compare October 15, 2023 17:48
@watermelon-copilot-for-code-review

@sourcery-ai sourcery-ai bot force-pushed the sourcery/refactor-gx branch from f45ade7 to 2281c82 Compare October 15, 2023 17:53
@watermelon-copilot-for-code-review

@sourcery-ai sourcery-ai bot force-pushed the sourcery/refactor-gx branch from 2281c82 to 69555ac Compare October 15, 2023 17:57
if self._geometry is not None:
return self._geometry.geometry
return None
return self._geometry.geometry if self._geometry is not None else None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Function Placemark.geometry refactored with the following changes:

@watermelon-copilot-for-code-review

@codecov
Copy link

codecov bot commented Oct 15, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c71625e) 93.15% compared to head (69555ac) 93.17%.

Additional details and impacted files
@@               Coverage Diff               @@
##           refactor-gx     #244      +/-   ##
===============================================
+ Coverage        93.15%   93.17%   +0.01%     
===============================================
  Files               33       33              
  Lines             4779     4777       -2     
===============================================
- Hits              4452     4451       -1     
+ Misses             327      326       -1     
Files Coverage Δ
fastkml/kml.py 78.17% <100.00%> (+0.05%) ⬆️

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

Base automatically changed from refactor-gx to develop October 15, 2023 18:03
@sourcery-ai sourcery-ai bot closed this Oct 15, 2023
@sourcery-ai sourcery-ai bot deleted the sourcery/refactor-gx branch October 15, 2023 18:03
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.

0 participants