Skip to content

Conversation

@flora-hofmann-frequenz
Copy link
Collaborator

This will help fix nox error in PR #13.

cwasicki
cwasicki previously approved these changes Oct 2, 2024
@cwasicki
Copy link
Contributor

cwasicki commented Oct 2, 2024

Oh, since we have already a release we need release notes :(

RELEASE_NOTES.md Outdated
## Bug Fixes

* Change 0.0 to nan if there is no data available
* Make use of keyword arguments
Copy link
Contributor

Choose a reason for hiding this comment

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

Enforce keyword arguments in cumulative_energy function.

@flora-hofmann-frequenz flora-hofmann-frequenz added this pull request to the merge queue Oct 2, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 134e8ea Oct 2, 2024
14 checks passed
@Marenz
Copy link

Marenz commented Oct 2, 2024

If you don't want to change your code accordingly (as in, use key-word arguments), you can also just add a new exception:

# pylint: disable-next=too-many-positional-arguments

## Bug Fixes

* Change 0.0 to nan if there is no data available
* Enforce keyword arguments in cumulative_energy function
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick, but this is not really a bug fix, I would say it's more of an improvement, and a breaking change, as now callers must use keyword arguments. So in the future you might want to mention it in the Upgrading section.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will do so - we have the same topic coming up in the client, so I will change it there :-)

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

Labels

part:docs Affects the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants