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

MNT: adding example docs to the find_closest() function #439

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

Gui-FernandesBR
Copy link
Member

Pull request type

  • ReadMe, Docs and GitHub updates

Checklist

  • Tests for the changes have been added (if needed)
  • Docs have been reviewed and added / updated
  • Lint (black rocketpy/ tests/) has passed locally
  • All tests (pytest --runslow) have passed locally

Current behavior

There is this function tools.find_closest() that have been used inside the Flight class. I faced it when working in the last BUG fix #438 . It can be better tested and explained with some examples in its docstring.

New behavior

The docstring of the function was modified.
This PR is complementary to the last one, just wanted to put it in here to alleviate last PR.

Breaking change

  • No

Additional information

None

@Gui-FernandesBR Gui-FernandesBR added the Docs Docs and examples related label Oct 14, 2023
@Gui-FernandesBR Gui-FernandesBR added this to the Release v1.X.0 milestone Oct 14, 2023
@Gui-FernandesBR Gui-FernandesBR self-assigned this Oct 14, 2023
Copy link
Collaborator

@phmbressan phmbressan left a comment

Choose a reason for hiding this comment

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

Approved, well written doctest.

@Gui-FernandesBR Gui-FernandesBR merged commit af472bc into develop Oct 14, 2023
10 checks passed
@Gui-FernandesBR Gui-FernandesBR deleted the mnt/find-closest-examples branch October 14, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Docs and examples related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants