humanize
humanize copied to clipboard
Add naturallist
- This PR adds
naturallistto convert a list of items into a comma separated sentence withandat the last. - I have also ignored
.idea/*folder
closes #103
Codecov Report
Merging #110 (14d76fb) into main (7e20f6e) will decrease coverage by
0.78%. The diff coverage is100.00%.
@@ Coverage Diff @@
## main #110 +/- ##
==========================================
- Coverage 99.06% 98.28% -0.78%
==========================================
Files 9 11 +2
Lines 745 759 +14
==========================================
+ Hits 738 746 +8
- Misses 7 13 +6
| Flag | Coverage Δ | |
|---|---|---|
| macos-latest | 96.70% <100.00%> (-1.15%) |
:arrow_down: |
| ubuntu-latest | 96.70% <100.00%> (-1.15%) |
:arrow_down: |
| windows-latest | 95.25% <100.00%> (-0.72%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/humanize/__init__.py | 81.81% <100.00%> (-18.19%) |
:arrow_down: |
| src/humanize/lists.py | 100.00% <100.00%> (ø) |
|
| tests/test_lists.py | 100.00% <100.00%> (ø) |
Could you please run the CI again? Thanks.
Thanks for the PR! I've made some updates, and because this is a new API, added an underscore to the function.
(I'm considering adding underscores to the others too, and having the non-underscore ones be aliases. If so, no need to remove or deprecate the old ones, at least not for a long time.)