Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable extension splitting on Windows for os_sorted #166

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

SethMMorton
Copy link
Owner

It turns out that this is not a behavior that Windows supports - it adds e.g. (2) after the extension, not before, so it does not account for extensions when sorting.

It turns out that this is not a behavior that Windows supports - it adds
e.g. (2) after the extension, not before, so it does not account for
extensions when sorting.
@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (51b2fd3) 98.51% compared to head (b7ad1cb) 98.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #166   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files          10       10           
  Lines         606      607    +1     
=======================================
+ Hits          597      598    +1     
  Misses          9        9           
Impacted Files Coverage Δ
natsort/natsort.py 100.00% <100.00%> (ø)
natsort/utils.py 97.27% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@SethMMorton SethMMorton merged commit 9d2eba8 into main Jun 20, 2023
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jun 28, 2023
[8.4.0] - 2023-06-19
---

### Changed

- The changelog now only explictly exists in the repository
  (issue [#162](SethMMorton/natsort#162))

### Fixed

- Inputs with spaces near adjascent to the extension are now sorted
  correctly for `os_sorted` on Windows (issues
  [#165](SethMMorton/natsort#165) and
  [#166](SethMMorton/natsort#166))
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant