Skip to content

Commit

Permalink
Merge pull request #493 from akaihola/contributors-2023-06
Browse files Browse the repository at this point in the history
Contributors in May–June 2023
  • Loading branch information
akaihola committed Jul 12, 2023
2 parents 57a0b93 + 1d0af65 commit 31c230a
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@
- Leo Torres (@leotrs)
- Magnus N. Malmquist (@magnunm)
- Mark Davidoff (@markddavidoff)
- Martin Häcker (@dwt)
- martinRenou (@martinRenou)
- Mat Clayton (@matclayton)
- Matthias Bussonnier (@Carreau)
- Matthijs van der Burgh (@MatthijsBurgh)
- mayk0gan (@mayk0gan)
- Min RK (@minrk)
- My-Tien Nguyen (@my-tien)
- Mystic-Mirage (@Mystic-Mirage)
- Nathan Huffman (@njhuffman)
- Nutchanon Ninyawee (@wasdee)
Expand All @@ -84,6 +86,7 @@
- Thomas Güttler (@guettli)
- TJ Kolleh (@tkolleh)
- Tobias Diez (@tobiasdiez)
- Trent Apted (@tapted)
- Trevor Gross (@tgross35)
- Victor Cui (@victorcui96)
- Vivek Kushwaha (@yoursvivek)
Expand Down
63 changes: 49 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,19 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Amarkddavidoff" title="Bug reports">🐛</a>
</td>
<td align="center">
<a href="https://github.com/dwt">
<img src="https://avatars.githubusercontent.com/u/57199?v=3" width="100px;" alt="@dwt" />
<br />
<sub>
<b>Martin Häcker</b>
</sub>
</a>
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Adwt" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/matclayton">
<img src="https://avatars.githubusercontent.com/u/126218?v=3" width="100px;" alt="@matclayton" />
Expand All @@ -1480,8 +1493,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Amatclayton" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/Carreau">
<img src="https://avatars.githubusercontent.com/u/335567?v=3" width="100px;" alt="@Carreau" />
Expand Down Expand Up @@ -1517,6 +1528,17 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/conda-forge/darker-feedstock/search?q=darker+author%3Aminrk&type=issues" title="Code">💻</a>
</td>
<td align="center">
<a href="https://github.com/my-tien">
<img src="https://avatars.githubusercontent.com/u/3898364?v=3" width="100px;" alt="@my-tien" />
<br />
<sub>
<b>My-Tien Nguyen</b>
</sub>
</a>
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Amy-tien" title="Bug reports">🐛</a>
</td>
<td align="center">
<a href="https://github.com/Mystic-Mirage">
<img src="https://avatars.githubusercontent.com/u/1079805?v=3" width="100px;" alt="@Mystic-Mirage" />
Expand All @@ -1530,6 +1552,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<a href="https://github.com/akaihola/darker/commits?author=Mystic-Mirage" title="Documentation">📖</a>
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3AMystic-Mirage" title="Reviewed Pull Requests">👀</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/njhuffman">
<img src="https://avatars.githubusercontent.com/u/66969728?v=3" width="100px;" alt="@njhuffman" />
Expand All @@ -1553,8 +1577,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Awasdee" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/Pacu2">
<img src="https://avatars.githubusercontent.com/u/21290461?v=3" width="100px;" alt="@Pacu2" />
Expand Down Expand Up @@ -1602,6 +1624,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Agesslerpd" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/flying-sheep">
<img src="https://avatars.githubusercontent.com/u/291575?v=3" width="100px;" alt="@flying-sheep" />
Expand All @@ -1624,8 +1648,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/search?q=RishiKumarRay" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/ioggstream">
<img src="https://avatars.githubusercontent.com/u/1140844?v=3" width="100px;" alt="@ioggstream" />
Expand Down Expand Up @@ -1670,6 +1692,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3Asherbie" title="Reviewed Pull Requests">👀</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/hauntsaninja">
<img src="https://avatars.githubusercontent.com/u/12621235?v=3" width="100px;" alt="@hauntsaninja" />
Expand All @@ -1692,8 +1716,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/search?q=commenter%3Asimgunz&type=issues" title="Reviewed Pull Requests">👀</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/soxofaan">
<img src="https://avatars.githubusercontent.com/u/44946?v=3" width="100px;" alt="@soxofaan" />
Expand Down Expand Up @@ -1738,6 +1760,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/commits?author=talhajunaidd" title="Code">💻</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/guettli">
<img src="https://avatars.githubusercontent.com/u/414336?v=3" width="100px;" alt="@guettli" />
Expand All @@ -1759,8 +1783,17 @@ Thanks goes to these wonderful people (`emoji key`_):
</a>
<br />
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/tapted">
<img src="https://avatars.githubusercontent.com/u/1721312?v=3" width="100px;" alt="@tapted" />
<br />
<sub>
<b>Trent Apted</b>
</sub>
</a>
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Atapted" title="Bug reports">🐛</a>
</td>
<td align="center">
<a href="https://github.com/tgross35">
<img src="https://avatars.githubusercontent.com/u/13724985?v=3" width="100px;" alt="@tgross35" />
Expand Down Expand Up @@ -1795,6 +1828,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<a href="https://github.com/akaihola/darker/issues?q=author%3Ayoursvivek" title="Bug reports">🐛</a>
<a href="https://github.com/akaihola/darker/commits?author=yoursvivek" title="Documentation">📖</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/Hainguyen1210">
<img src="https://avatars.githubusercontent.com/u/15359217?v=3" width="100px;" alt="@Hainguyen1210" />
Expand Down Expand Up @@ -1829,8 +1864,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Awpnbos" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/zachnorton4C">
<img src="https://avatars.githubusercontent.com/u/49661202?v=3" width="100px;" alt="@zachnorton4C" />
Expand Down Expand Up @@ -1864,6 +1897,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Adsmanl" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/leej3">
<img src="https://avatars.githubusercontent.com/u/5418152?v=3" width="100px;" alt="@leej3" />
Expand Down Expand Up @@ -1898,8 +1933,6 @@ Thanks goes to these wonderful people (`emoji key`_):
<a href="https://github.com/conda-forge/staged-recipes/search?q=darker&type=issues&author=martinRenou" title="Code">💻</a>
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3AmartinRenou" title="Reviewed Pull Requests">👀</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/mayk0gan">
<img src="https://avatars.githubusercontent.com/u/96263702?v=3" width="100px;" alt="@mayk0gan" />
Expand Down Expand Up @@ -1933,6 +1966,8 @@ Thanks goes to these wonderful people (`emoji key`_):
<br />
<a href="https://github.com/akaihola/darker/issues?q=author%3Aoverratedpro" title="Bug reports">🐛</a>
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/samoylovfp">
<img src="https://avatars.githubusercontent.com/u/17025459?v=3" width="100px;" alt="@samoylovfp" />
Expand Down
6 changes: 6 additions & 0 deletions contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ dhrvjha:
- {link_type: pulls-author, type: Code}
dsmanl:
- {link_type: issues, type: Bug reports}
dwt:
- {link_type: issues, type: Bug reports}
falkben:
- {link_type: pulls-author, type: Documentation}
fizbin:
Expand Down Expand Up @@ -127,6 +129,8 @@ minrk:
- {link_type: darker-feedstock-issues, type: Code}
muggenhor:
- {link_type: commits, type: Code}
my-tien:
- {link_type: issues, type: Bug reports}
njhuffman:
- {link_type: issues, type: Bug reports}
- {link_type: commits, type: Code}
Expand Down Expand Up @@ -164,6 +168,8 @@ strzonnek:
- {link_type: issues, type: Bug reports}
talhajunaidd:
- {link_type: commits, type: Code}
tapted:
- {link_type: issues, type: Bug reports}
tgross35:
- {link_type: issues, type: Bug reports}
tkolleh:
Expand Down
20 changes: 19 additions & 1 deletion release_tools/update_contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,23 @@ def display_name(self) -> str:
return self.name or self.login


RTL_OVERRIDE = "\u202e"


def _normalize_rtl_override(text: str) -> str:
"""Normalize text surrounded by right-to-left override characters
:param text: Text to normalize
:return: Normalized text
"""
if not text:
return text
if text[0] != RTL_OVERRIDE or text[-1] != RTL_OVERRIDE:
return text
return text[-2:0:-1]


def join_github_users_with_contributions(
users_and_contributions: Dict[str, List[Contribution]],
session: GitHubSession,
Expand All @@ -330,9 +347,10 @@ def join_github_users_with_contributions(
users: List[Contributor] = []
for username, contributions in users_and_contributions.items():
gh_user = cast(GitHubUser, session.get(f"/users/{username}").json())
name = _normalize_rtl_override(gh_user["name"])
try:
contributor = Contributor(
gh_user["id"], gh_user["name"], gh_user["login"], contributions
gh_user["id"], name, gh_user["login"], contributions
)
except KeyError:
click.echo(gh_user, err=True)
Expand Down

0 comments on commit 31c230a

Please sign in to comment.