Skip to content

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Jul 22, 2024

An Interval is not really a collection, as it doesn't store any objects, it is more of a mathematical concept, so we move the class to the math module and remove the collections module.

llucax added 4 commits July 22, 2024 12:19
Also removes the now empty collections module.

Signed-off-by: Leandro Lucarella <[email protected]>
Now that we have 2 separate things to test in the math module, we use
a sub-directory to store the tests.

Signed-off-by: Leandro Lucarella <[email protected]>
Now that the tests for each part are in a separate file, we don't need
to add prefixes to it, making the tests names shorter and less redundant
in the logs.

Signed-off-by: Leandro Lucarella <[email protected]>
Now that the module has been removed, we don't need to label it anymore.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax requested a review from a team as a code owner July 22, 2024 10:20
@llucax llucax requested a review from shsms July 22, 2024 10:20
@llucax llucax self-assigned this Jul 22, 2024
@llucax llucax added this to the v1.0.0 milestone Jul 22, 2024
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) part:collections Affects the collections module part:math Affects the math module labels Jul 22, 2024
@llucax
Copy link
Contributor Author

llucax commented Jul 22, 2024

Not 100% convinced it belongs to math, but definitely collections was misleading and at the end it is a math concept.

@llucax llucax added cmd:skip-release-notes It is not necessary to update release notes for this PR type:enhancement New feature or enhancement visitble to users labels Jul 22, 2024
@llucax llucax enabled auto-merge July 22, 2024 10:22
In particular the `__str__` method returns a much more compact
representation.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax added this pull request to the merge queue Jul 24, 2024
Merged via the queue into frequenz-floss:v1.x.x with commit 1e40791 Jul 24, 2024
@llucax llucax deleted the interval-math branch July 24, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:collections Affects the collections module part:math Affects the math module part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:enhancement New feature or enhancement visitble to users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants