Skip to content

Commit 5834913

Browse files
[Internal] Fix docstring param spacing check and libcst incompatibility with Python 3.13 (#3251)
* fix docstring check and update libcst min version * remove spaces
1 parent d57872e commit 5834913

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_version() -> str:
110110
"ruff>=0.9.0",
111111
"mypy>=1.14.1,<1.15.0; python_version=='3.8'",
112112
"mypy==1.15.0; python_version>='3.9'",
113-
"libcst==1.4.0",
113+
"libcst>=1.4.0",
114114
]
115115

116116
extras["all"] = extras["testing"] + extras["quality"] + extras["typing"]

utils/check_inference_input_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def check_method(method_name: str, method: Any):
8080
continue
8181
if param_name in PARAMETERS_TO_SKIP[method_name]:
8282
continue
83-
if f" {param_name} (" not in docstring:
83+
if f"{param_name} (" not in docstring:
8484
logs.append(f"Parameter {param_name} is not documented")
8585

8686
return logs

0 commit comments

Comments
 (0)