You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`rule_ids`| list[str]| Specific rule IDs to get suggestions for |
213
+
|`config_path`| Path | Path to the Robocop toml configuration file |
205
214
206
215
**Returns:** Dictionary with:
207
216
@@ -224,6 +233,7 @@ Format Robot Framework code and return the formatted result.
224
233
|`select`| list[str]| Formatter names to apply (default: all enabled formatters) |
225
234
|`space_count`| int | Spaces for indentation (default: 4) |
226
235
|`line_length`| int | Maximum line length (default: 120) |
236
+
|`config_path`| Path | Path to the Robocop toml configuration file |
227
237
228
238
**Returns:** Dictionary with `formatted` (the code), `changed` (boolean), and `diff` (unified diff if changed).
229
239
@@ -245,6 +255,7 @@ Format Robot Framework code and lint the result in one operation. **Recommended
245
255
|`limit`| int | Maximum issues to return |
246
256
|`configure`| list[str]| Rule configurations |
247
257
|`overwrite`| bool | If True and `file_path` is used, write formatted content back to file (default: false) |
258
+
|`config_path`| Path | Path to the Robocop toml configuration file |
248
259
249
260
**Returns:** Dictionary with `formatted`, `changed`, `diff`, `issues` (remaining), `issues_before`, `issues_after`, `issues_fixed`. When `file_path` is used, also includes `file` and `written`.
250
261
@@ -259,6 +270,7 @@ Format a Robot Framework file from disk. Can optionally overwrite the file with
259
270
|`space_count`| int | Spaces for indentation (default: 4) |
260
271
|`line_length`| int | Maximum line length (default: 120) |
261
272
|`overwrite`| bool | Write formatted content back to file (default: false) |
273
+
|`config_path`| Path | Path to the Robocop toml configuration file |
262
274
263
275
**Returns:** Dictionary with `file`, `formatted`, `changed`, `diff`, and `written` (whether file was overwritten).
264
276
@@ -275,6 +287,7 @@ Format multiple Robot Framework files using paths or glob patterns. Can optional
275
287
|`line_length`| int | Maximum line length (default: 120) |
276
288
|`overwrite`| bool | Write formatted content back to files (default: false) |
277
289
|`summarize_only`| bool | Return only stats without per-file results (default: false) |
290
+
|`config_path`| Path | Path to the Robocop toml configuration file |
278
291
279
292
**Returns:** Dictionary with `total_files`, `files_changed`, `files_unchanged`, `files_written`, `results` (omitted when `summarize_only`), `errors`, `unmatched_patterns`.
280
293
@@ -334,6 +347,7 @@ Explain a specific issue at a given line with surrounding context. More detailed
334
347
|`line`| int | The line number to explain (1-indexed, required) |
0 commit comments