Skip to content

Commit 5f25dcd

Browse files
committed
hints for build_docs_with_lock
1 parent 9aaa470 commit 5f25dcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_docs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
from __future__ import annotations
2424

25-
from argparse import ArgumentParser
25+
from argparse import ArgumentParser, Namespace
2626
from collections.abc import Sequence
2727
from contextlib import suppress, contextmanager
2828
from dataclasses import dataclass
@@ -1204,7 +1204,7 @@ def main():
12041204
build_docs_with_lock(args, "build_docs_html.lock")
12051205

12061206

1207-
def build_docs_with_lock(args, lockfile_name):
1207+
def build_docs_with_lock(args: Namespace, lockfile_name: str) -> int:
12081208
try:
12091209
lock = zc.lockfile.LockFile(HERE / lockfile_name)
12101210
except zc.lockfile.LockError:

0 commit comments

Comments
 (0)