Skip to content

Commit 31c230a

Browse files
authored
Merge pull request #493 from akaihola/contributors-2023-06
Contributors in May–June 2023
2 parents 57a0b93 + 1d0af65 commit 31c230a

File tree

4 files changed

+77
-15
lines changed

4 files changed

+77
-15
lines changed

Diff for: CONTRIBUTORS.rst

+3
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@
5353
- Leo Torres (@leotrs)
5454
- Magnus N. Malmquist (@magnunm)
5555
- Mark Davidoff (@markddavidoff)
56+
- Martin Häcker (@dwt)
5657
- martinRenou (@martinRenou)
5758
- Mat Clayton (@matclayton)
5859
- Matthias Bussonnier (@Carreau)
5960
- Matthijs van der Burgh (@MatthijsBurgh)
6061
- mayk0gan (@mayk0gan)
6162
- Min RK (@minrk)
63+
- My-Tien Nguyen (@my-tien)
6264
- Mystic-Mirage (@Mystic-Mirage)
6365
- Nathan Huffman (@njhuffman)
6466
- Nutchanon Ninyawee (@wasdee)
@@ -84,6 +86,7 @@
8486
- Thomas Güttler (@guettli)
8587
- TJ Kolleh (@tkolleh)
8688
- Tobias Diez (@tobiasdiez)
89+
- Trent Apted (@tapted)
8790
- Trevor Gross (@tgross35)
8891
- Victor Cui (@victorcui96)
8992
- Vivek Kushwaha (@yoursvivek)

Diff for: README.rst

+49-14
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,19 @@ Thanks goes to these wonderful people (`emoji key`_):
14691469
<br />
14701470
<a href="https://github.com/akaihola/darker/issues?q=author%3Amarkddavidoff" title="Bug reports">🐛</a>
14711471
</td>
1472+
<td align="center">
1473+
<a href="https://github.com/dwt">
1474+
<img src="https://avatars.githubusercontent.com/u/57199?v=3" width="100px;" alt="@dwt" />
1475+
<br />
1476+
<sub>
1477+
<b>Martin Häcker</b>
1478+
</sub>
1479+
</a>
1480+
<br />
1481+
<a href="https://github.com/akaihola/darker/issues?q=author%3Adwt" title="Bug reports">🐛</a>
1482+
</td>
1483+
</tr>
1484+
<tr>
14721485
<td align="center">
14731486
<a href="https://github.com/matclayton">
14741487
<img src="https://avatars.githubusercontent.com/u/126218?v=3" width="100px;" alt="@matclayton" />
@@ -1480,8 +1493,6 @@ Thanks goes to these wonderful people (`emoji key`_):
14801493
<br />
14811494
<a href="https://github.com/akaihola/darker/issues?q=author%3Amatclayton" title="Bug reports">🐛</a>
14821495
</td>
1483-
</tr>
1484-
<tr>
14851496
<td align="center">
14861497
<a href="https://github.com/Carreau">
14871498
<img src="https://avatars.githubusercontent.com/u/335567?v=3" width="100px;" alt="@Carreau" />
@@ -1517,6 +1528,17 @@ Thanks goes to these wonderful people (`emoji key`_):
15171528
<br />
15181529
<a href="https://github.com/conda-forge/darker-feedstock/search?q=darker+author%3Aminrk&type=issues" title="Code">💻</a>
15191530
</td>
1531+
<td align="center">
1532+
<a href="https://github.com/my-tien">
1533+
<img src="https://avatars.githubusercontent.com/u/3898364?v=3" width="100px;" alt="@my-tien" />
1534+
<br />
1535+
<sub>
1536+
<b>My-Tien Nguyen</b>
1537+
</sub>
1538+
</a>
1539+
<br />
1540+
<a href="https://github.com/akaihola/darker/issues?q=author%3Amy-tien" title="Bug reports">🐛</a>
1541+
</td>
15201542
<td align="center">
15211543
<a href="https://github.com/Mystic-Mirage">
15221544
<img src="https://avatars.githubusercontent.com/u/1079805?v=3" width="100px;" alt="@Mystic-Mirage" />
@@ -1530,6 +1552,8 @@ Thanks goes to these wonderful people (`emoji key`_):
15301552
<a href="https://github.com/akaihola/darker/commits?author=Mystic-Mirage" title="Documentation">📖</a>
15311553
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3AMystic-Mirage" title="Reviewed Pull Requests">👀</a>
15321554
</td>
1555+
</tr>
1556+
<tr>
15331557
<td align="center">
15341558
<a href="https://github.com/njhuffman">
15351559
<img src="https://avatars.githubusercontent.com/u/66969728?v=3" width="100px;" alt="@njhuffman" />
@@ -1553,8 +1577,6 @@ Thanks goes to these wonderful people (`emoji key`_):
15531577
<br />
15541578
<a href="https://github.com/akaihola/darker/issues?q=author%3Awasdee" title="Bug reports">🐛</a>
15551579
</td>
1556-
</tr>
1557-
<tr>
15581580
<td align="center">
15591581
<a href="https://github.com/Pacu2">
15601582
<img src="https://avatars.githubusercontent.com/u/21290461?v=3" width="100px;" alt="@Pacu2" />
@@ -1602,6 +1624,8 @@ Thanks goes to these wonderful people (`emoji key`_):
16021624
<br />
16031625
<a href="https://github.com/akaihola/darker/issues?q=author%3Agesslerpd" title="Bug reports">🐛</a>
16041626
</td>
1627+
</tr>
1628+
<tr>
16051629
<td align="center">
16061630
<a href="https://github.com/flying-sheep">
16071631
<img src="https://avatars.githubusercontent.com/u/291575?v=3" width="100px;" alt="@flying-sheep" />
@@ -1624,8 +1648,6 @@ Thanks goes to these wonderful people (`emoji key`_):
16241648
<br />
16251649
<a href="https://github.com/akaihola/darker/search?q=RishiKumarRay" title="Bug reports">🐛</a>
16261650
</td>
1627-
</tr>
1628-
<tr>
16291651
<td align="center">
16301652
<a href="https://github.com/ioggstream">
16311653
<img src="https://avatars.githubusercontent.com/u/1140844?v=3" width="100px;" alt="@ioggstream" />
@@ -1670,6 +1692,8 @@ Thanks goes to these wonderful people (`emoji key`_):
16701692
<br />
16711693
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3Asherbie" title="Reviewed Pull Requests">👀</a>
16721694
</td>
1695+
</tr>
1696+
<tr>
16731697
<td align="center">
16741698
<a href="https://github.com/hauntsaninja">
16751699
<img src="https://avatars.githubusercontent.com/u/12621235?v=3" width="100px;" alt="@hauntsaninja" />
@@ -1692,8 +1716,6 @@ Thanks goes to these wonderful people (`emoji key`_):
16921716
<br />
16931717
<a href="https://github.com/akaihola/darker/search?q=commenter%3Asimgunz&type=issues" title="Reviewed Pull Requests">👀</a>
16941718
</td>
1695-
</tr>
1696-
<tr>
16971719
<td align="center">
16981720
<a href="https://github.com/soxofaan">
16991721
<img src="https://avatars.githubusercontent.com/u/44946?v=3" width="100px;" alt="@soxofaan" />
@@ -1738,6 +1760,8 @@ Thanks goes to these wonderful people (`emoji key`_):
17381760
<br />
17391761
<a href="https://github.com/akaihola/darker/commits?author=talhajunaidd" title="Code">💻</a>
17401762
</td>
1763+
</tr>
1764+
<tr>
17411765
<td align="center">
17421766
<a href="https://github.com/guettli">
17431767
<img src="https://avatars.githubusercontent.com/u/414336?v=3" width="100px;" alt="@guettli" />
@@ -1759,8 +1783,17 @@ Thanks goes to these wonderful people (`emoji key`_):
17591783
</a>
17601784
<br />
17611785
</td>
1762-
</tr>
1763-
<tr>
1786+
<td align="center">
1787+
<a href="https://github.com/tapted">
1788+
<img src="https://avatars.githubusercontent.com/u/1721312?v=3" width="100px;" alt="@tapted" />
1789+
<br />
1790+
<sub>
1791+
<b>Trent Apted</b>
1792+
</sub>
1793+
</a>
1794+
<br />
1795+
<a href="https://github.com/akaihola/darker/issues?q=author%3Atapted" title="Bug reports">🐛</a>
1796+
</td>
17641797
<td align="center">
17651798
<a href="https://github.com/tgross35">
17661799
<img src="https://avatars.githubusercontent.com/u/13724985?v=3" width="100px;" alt="@tgross35" />
@@ -1795,6 +1828,8 @@ Thanks goes to these wonderful people (`emoji key`_):
17951828
<a href="https://github.com/akaihola/darker/issues?q=author%3Ayoursvivek" title="Bug reports">🐛</a>
17961829
<a href="https://github.com/akaihola/darker/commits?author=yoursvivek" title="Documentation">📖</a>
17971830
</td>
1831+
</tr>
1832+
<tr>
17981833
<td align="center">
17991834
<a href="https://github.com/Hainguyen1210">
18001835
<img src="https://avatars.githubusercontent.com/u/15359217?v=3" width="100px;" alt="@Hainguyen1210" />
@@ -1829,8 +1864,6 @@ Thanks goes to these wonderful people (`emoji key`_):
18291864
<br />
18301865
<a href="https://github.com/akaihola/darker/issues?q=author%3Awpnbos" title="Bug reports">🐛</a>
18311866
</td>
1832-
</tr>
1833-
<tr>
18341867
<td align="center">
18351868
<a href="https://github.com/zachnorton4C">
18361869
<img src="https://avatars.githubusercontent.com/u/49661202?v=3" width="100px;" alt="@zachnorton4C" />
@@ -1864,6 +1897,8 @@ Thanks goes to these wonderful people (`emoji key`_):
18641897
<br />
18651898
<a href="https://github.com/akaihola/darker/issues?q=author%3Adsmanl" title="Bug reports">🐛</a>
18661899
</td>
1900+
</tr>
1901+
<tr>
18671902
<td align="center">
18681903
<a href="https://github.com/leej3">
18691904
<img src="https://avatars.githubusercontent.com/u/5418152?v=3" width="100px;" alt="@leej3" />
@@ -1898,8 +1933,6 @@ Thanks goes to these wonderful people (`emoji key`_):
18981933
<a href="https://github.com/conda-forge/staged-recipes/search?q=darker&type=issues&author=martinRenou" title="Code">💻</a>
18991934
<a href="https://github.com/akaihola/darker/pulls?q=is%3Apr+reviewed-by%3AmartinRenou" title="Reviewed Pull Requests">👀</a>
19001935
</td>
1901-
</tr>
1902-
<tr>
19031936
<td align="center">
19041937
<a href="https://github.com/mayk0gan">
19051938
<img src="https://avatars.githubusercontent.com/u/96263702?v=3" width="100px;" alt="@mayk0gan" />
@@ -1933,6 +1966,8 @@ Thanks goes to these wonderful people (`emoji key`_):
19331966
<br />
19341967
<a href="https://github.com/akaihola/darker/issues?q=author%3Aoverratedpro" title="Bug reports">🐛</a>
19351968
</td>
1969+
</tr>
1970+
<tr>
19361971
<td align="center">
19371972
<a href="https://github.com/samoylovfp">
19381973
<img src="https://avatars.githubusercontent.com/u/17025459?v=3" width="100px;" alt="@samoylovfp" />

Diff for: contributors.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ dhrvjha:
6565
- {link_type: pulls-author, type: Code}
6666
dsmanl:
6767
- {link_type: issues, type: Bug reports}
68+
dwt:
69+
- {link_type: issues, type: Bug reports}
6870
falkben:
6971
- {link_type: pulls-author, type: Documentation}
7072
fizbin:
@@ -127,6 +129,8 @@ minrk:
127129
- {link_type: darker-feedstock-issues, type: Code}
128130
muggenhor:
129131
- {link_type: commits, type: Code}
132+
my-tien:
133+
- {link_type: issues, type: Bug reports}
130134
njhuffman:
131135
- {link_type: issues, type: Bug reports}
132136
- {link_type: commits, type: Code}
@@ -164,6 +168,8 @@ strzonnek:
164168
- {link_type: issues, type: Bug reports}
165169
talhajunaidd:
166170
- {link_type: commits, type: Code}
171+
tapted:
172+
- {link_type: issues, type: Bug reports}
167173
tgross35:
168174
- {link_type: issues, type: Bug reports}
169175
tkolleh:

Diff for: release_tools/update_contributors.py

+19-1
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,23 @@ def display_name(self) -> str:
316316
return self.name or self.login
317317

318318

319+
RTL_OVERRIDE = "\u202e"
320+
321+
322+
def _normalize_rtl_override(text: str) -> str:
323+
"""Normalize text surrounded by right-to-left override characters
324+
325+
:param text: Text to normalize
326+
:return: Normalized text
327+
328+
"""
329+
if not text:
330+
return text
331+
if text[0] != RTL_OVERRIDE or text[-1] != RTL_OVERRIDE:
332+
return text
333+
return text[-2:0:-1]
334+
335+
319336
def join_github_users_with_contributions(
320337
users_and_contributions: Dict[str, List[Contribution]],
321338
session: GitHubSession,
@@ -330,9 +347,10 @@ def join_github_users_with_contributions(
330347
users: List[Contributor] = []
331348
for username, contributions in users_and_contributions.items():
332349
gh_user = cast(GitHubUser, session.get(f"/users/{username}").json())
350+
name = _normalize_rtl_override(gh_user["name"])
333351
try:
334352
contributor = Contributor(
335-
gh_user["id"], gh_user["name"], gh_user["login"], contributions
353+
gh_user["id"], name, gh_user["login"], contributions
336354
)
337355
except KeyError:
338356
click.echo(gh_user, err=True)

0 commit comments

Comments
 (0)