Skip to content

Commit

Permalink
Give thanks in the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sirosen committed Mar 27, 2024
1 parent 3d81a8e commit 10d3a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ following sample config:
### Unreleased

<!-- bumpversion-changelog -->
- `alphabetize-codeowners` is now case insensitive and normalizes whitespace
better. Thanks @kurtmckee for the PR!

### 0.6.4

Expand Down
2 changes: 1 addition & 1 deletion src/texthooks/alphabetize_codeowners.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def sort_line(line: str) -> str:
return line
# also normalizes whitespace
path, *owners = line.split()
if not len(owners):
if not owners:
return line
return " ".join([path] + sorted(owners, key=str.lower))

Expand Down

0 comments on commit 10d3a68

Please sign in to comment.