Skip to content

Commit 1290357

Browse files
mathbouMathieu
authored andcommitted
🎨 pre-commit run
1 parent 13afdd7 commit 1290357

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

seed_intersphinx_mapping/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@
3535
import json
3636
import os.path
3737
import re
38-
from urllib.parse import urlparse
3938
from typing import Dict, Optional, Tuple, Union
39+
from urllib.parse import urlparse
4040

4141
# 3rd party
42-
4342
import dist_meta
4443
import requests
4544
from domdf_python_tools.compat import importlib_resources
@@ -79,7 +78,7 @@ def _get_project_links(project_name: str) -> list:
7978
raw_urls = dist.get_metadata().get_all("Project-URL", default=())
8079

8180
for url in raw_urls:
82-
label, url = url.split(",", 1)
81+
label, url = url.split(',', 1)
8382
if _DOCUMENTATION_RE.match(label):
8483
urls.append(url)
8584

0 commit comments

Comments
 (0)