8000 MNT fix generate_authors_table.py (#17011) · thomasjpfan/scikit-learn@1b119c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b119c4

Browse files
authored
MNT fix generate_authors_table.py (scikit-learn#17011)
1 parent 839b356 commit 1b119c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build_tools/generate_authors_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
import getpass
1212
import time
1313
from pathlib import Path
14+
from os import path
1415

1516
print("user:", file=sys.stderr)
1617
user = input()
1718
passwd = getpass.getpass("Password or access token:\n")
1819
auth = (user, passwd)
1920

2021
LOGO_URL = 'https://avatars2.githubusercontent.com/u/365630?v=4'
21-
REPO_FOLDER = Path(__file__).parent.parent
22+
REPO_FOLDER = Path(path.abspath(__file__)).parent.parent
2223

2324

2425
def get(url):
@@ -100,7 +101,6 @@ def get_profile(login):
100101
'Duchesnay': 'Edouard Duchesnay',
101102
'Lars': 'Lars Buitinck',
102103
'MechCoder': 'Manoj Kumar',
103-
'jeremiedbb': 'Jérémie Du Boisberranger',
104104
}
105105
if profile["name"] in missing_names:
106106
profile["name"] = missing_names[profile["name"]]

doc/authors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</style>
88
<div>
99
<a href='https://github.com/jeremiedbb'><img src='https://avatars2.githubusercontent.com/u/34657725?v=4' class='avatar' /></a> <br />
10-
<p>Jérémie Du Boisberranger</p>
10+
<p>Jérémie du Boisberranger</p>
1111
</div>
1212
<div>
1313
<a href='https://github.com/jorisvandenbossche'><img src='https://avatars2.githubusercontent.com/u/1020496?v=4' class='avatar' /></a> <br />

0 commit comments

Comments
 (0)
0