Skip to content

Commit 2fbe3d5

Browse files
committed
Type of key in keyword argument is always str
See https://peps.python.org/pep-0484/#arbitrary-argument-lists-and-default-argument-values. But since the value is Any, the type hint may really not be particularly useful here.
1 parent 92a1cff commit 2fbe3d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def generate_combined_checksum(root):
123123
return hash_files(*gen_files, extra_data=extra_data)
124124

125125

126-
def build(setup_kwargs: Dict[str, Any]) -> None:
126+
def build(**setup_kwargs: Any) -> None:
127127
# Validate that the SWIG wrappers are generated from the latest
128128
# sources (if we have them)
129129
swigdir = PYCBF_ROOT / "SWIG"

0 commit comments

Comments
 (0)