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

feat(entities): add role builder #923

Draft
wants to merge 1 commit into
base: fix-mypy-checks-enums
Choose a base branch
from

Conversation

bonjourmauko
Copy link
Member

@bonjourmauko bonjourmauko commented Jan 2, 2020

Requires #1255

@bonjourmauko bonjourmauko added kind:fix Bugs are defects and failure demand. level:intermediate Requires average OpenFisca experience labels Jan 2, 2020
@bonjourmauko bonjourmauko requested review from benjello and a team January 2, 2020 04:12
@bonjourmauko bonjourmauko added level:advanced Requires substantial OpenFisca experience and removed level:intermediate Requires average OpenFisca experience labels Jan 2, 2020
Copy link
Contributor

@Morendil Morendil left a comment

Choose a reason for hiding this comment

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

I would avoid large-scale style changes in a PR ostensibly focused on a targeted bug fix. I lack the energy and time available to hunt for the substantial changes.

Copy link
Member

@benjello benjello left a comment

Choose a reason for hiding this comment

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

I might not be the best qualified person but I read the PR and didn't find anything bizarre.

@bonjourmauko
Copy link
Member Author

This PR adds tests, code itself doesn't change, except for :

len(x)

to

size(x)

Question is : handling scalar vectors is the expected behaviour ?

@bonjourmauko bonjourmauko added kind:refactor Refactoring and code cleanup level:starter Suited for beginners and new contributors and removed kind:fix Bugs are defects and failure demand. level:advanced Requires substantial OpenFisca experience labels Jan 2, 2020
@bonjourmauko bonjourmauko changed the title Fix enum scalar array bug Add tests to Enum and to EnumArray Jan 2, 2020
@bonjourmauko
Copy link
Member Author

Hey thanks @Morendil and @benjello!

Now PR is scoped to document expected behaviour of Enum and EnumArray.

@bonjourmauko
Copy link
Member Author

Bump @Morendil @benjello

@sandcha sandcha self-requested a review February 13, 2020 11:44
@bonjourmauko bonjourmauko changed the base branch from master to doctests/entities September 7, 2021 20:29
@bonjourmauko bonjourmauko added kind:theme A group of issues, directly tied to an OKR and removed level:starter Suited for beginners and new contributors labels Sep 29, 2021
@bonjourmauko bonjourmauko modified the milestone: Doc/tests Sep 29, 2021
@bonjourmauko bonjourmauko added the kind:roadmap A group of issues, constituting a delivery roadmap label Sep 29, 2021
@bonjourmauko bonjourmauko added this to the Improved testing milestone Sep 29, 2021
@bonjourmauko bonjourmauko marked this pull request as draft October 4, 2021 10:49
@bonjourmauko bonjourmauko mentioned this pull request Oct 7, 2021
17 tasks
@bonjourmauko bonjourmauko changed the title [4/10] Improve enums module doctests [5/17] Improve enums module doctests Oct 7, 2021
@bonjourmauko bonjourmauko removed kind:theme A group of issues, directly tied to an OKR kind:roadmap A group of issues, constituting a delivery roadmap labels Oct 7, 2021
@bonjourmauko bonjourmauko force-pushed the doctests/entities branch 4 times, most recently from 17d128c to 845235d Compare October 28, 2021 11:05
@bonjourmauko bonjourmauko changed the title [5/17] Improve enums module doctests test: improve enums module doctests Oct 4, 2024
@bonjourmauko bonjourmauko force-pushed the fix-enum-scalar-array-bug branch 2 times, most recently from 7db7564 to ee318d5 Compare October 5, 2024 01:46
@bonjourmauko bonjourmauko changed the base branch from doctests/entities to master October 5, 2024 02:55
@bonjourmauko bonjourmauko changed the base branch from master to docs/add-docs-to-enums October 5, 2024 19:40
@bonjourmauko bonjourmauko changed the base branch from docs/add-docs-to-enums to test/fix-enums-doctests October 9, 2024 01:24
@bonjourmauko bonjourmauko force-pushed the test/fix-enums-doctests branch 2 times, most recently from 05e9db7 to 6dfc93f Compare October 9, 2024 02:37
@bonjourmauko bonjourmauko changed the base branch from test/fix-enums-doctests to fix-mypy-checks-enums October 10, 2024 22:16
@bonjourmauko bonjourmauko changed the title test: improve enums module doctests feat(entities): add role builder Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:refactor Refactoring and code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants