aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
6 stars 17 forks source link

deps: Vendor more_itertools.consecutive_groups #613

Open danielhollas opened 1 week ago

danielhollas commented 1 week ago

more_itertools package contains useful functions built on top of stdlib itertools, but we only use a single function from the package so let's vendor it and remove the dependency.

This means app developers can happily use this package without worrying about version clashes with AWB.

Part of #392

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.64%. Comparing base (6075e7c) to head (2b84761).

Files Patch % Lines
aiidalab_widgets_base/utils/__init__.py 93.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #613 +/- ## ========================================== + Coverage 83.62% 83.64% +0.01% ========================================== Files 16 16 Lines 3517 3521 +4 ========================================== + Hits 2941 2945 +4 Misses 576 576 ``` | [Flag](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/613/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | Coverage Δ | | |---|---|---| | [python-3.10](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.64% <93.33%> (+0.01%)` | :arrow_up: | | [python-3.9](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.67% <93.33%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.