We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418bc01 commit 924859cCopy full SHA for 924859c
src/pip/_internal/metadata/pep723.py
@@ -1,11 +1,12 @@
1
import re
2
+from typing import Any, Dict
3
4
from pip._vendor import tomli as tomllib
5
6
REGEX = r"(?m)^# /// (?P<type>[a-zA-Z0-9-]+)$\s(?P<content>(^#(| .*)$\s)+)^# ///$"
7
8
-def pep723_metadata(scriptfile: str) -> dict:
9
+def pep723_metadata(scriptfile: str) -> Dict[str, Any]:
10
with open(scriptfile) as f:
11
script = f.read()
12
0 commit comments