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

Id munging and cleanup #17

Merged
merged 13 commits into from
Jul 6, 2024
Merged

Id munging and cleanup #17

merged 13 commits into from
Jul 6, 2024

Conversation

sarnold
Copy link
Owner

@sarnold sarnold commented May 28, 2024

  • allow xform_id to remove trailing zeros from ID strings => -00
  • cleanup pre-commit config

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
@sarnold sarnold force-pushed the id-munging branch 2 times, most recently from fdc9003 to 9460094 Compare May 29, 2024 05:01
* xform_id(id, strip) needs at least py39 if strip is True, so
  fallback to nothing if no member attribute
* skip strip test on < py39

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
* make sure arg overrides file value, no value means no report

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
* limit handling of trailing/leading zeros to forward direction only

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
* add some new control data files for test support

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Copy link

github-actions bot commented Jul 6, 2024

Package Line Rate Branch Rate Complexity Health
src.yaml_tools 96% 95% 0
Summary 96% (400 / 415) 95% (164 / 172) 0

Copy link

github-actions bot commented Jul 6, 2024

Hello @sarnold! Thanks for opening this PR. We found the following information based on analysis of the coverage report:

Base Branch Rate coverage is 95%
Merging 5f0c735 into main will not change coverage

Nice work, @sarnold. Cheers! 🍻

@sarnold sarnold merged commit b3c7976 into main Jul 6, 2024
34 checks passed
@sarnold sarnold deleted the id-munging branch August 27, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant