spack.util.lock: add type-hints, remove **kwargs in method signatures (#39011)

This commit is contained in:
Massimiliano Culpo
2023-07-20 09:41:23 +02:00
committed by GitHub
parent 3a565c66e9
commit 50b90e430d
4 changed files with 36 additions and 22 deletions

View File

@@ -214,6 +214,7 @@ class Lock:
def __init__(
self,
path: str,
*,
start: int = 0,
length: int = 0,
default_timeout: Optional[float] = None,