X Tutup
Skip to content

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

Merged
Gui-FernandesBR merged 1 commit intodevelopfrom
mnt/find-closest-examples
Oct 14, 2023
Merged

MNT: adding example docs to the find_closest() function#439
Gui-FernandesBR merged 1 commit intodevelopfrom
mnt/find-closest-examples

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
@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

X Tutup