Thanks to visit codestin.com Credit goes to github.com
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 9aaa470 commit 5f25dcdCopy full SHA for 5f25dcd
build_docs.py
@@ -22,7 +22,7 @@
22
23
from __future__ import annotations
24
25
-from argparse import ArgumentParser
+from argparse import ArgumentParser, Namespace
26
from collections.abc import Sequence
27
from contextlib import suppress, contextmanager
28
from dataclasses import dataclass
@@ -1204,7 +1204,7 @@ def main():
1204
build_docs_with_lock(args, "build_docs_html.lock")
1205
1206
1207
-def build_docs_with_lock(args, lockfile_name):
+def build_docs_with_lock(args: Namespace, lockfile_name: str) -> int:
1208
try:
1209
lock = zc.lockfile.LockFile(HERE / lockfile_name)
1210
except zc.lockfile.LockError:
0 commit comments