robotcode 2.9.0.dev124__tar.gz → 2.9.0.dev180__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,10 @@ All notable changes to this project will be documented in this file. See [conven
28
28
 
29
29
  #### REPL
30
30
 
31
+ - Show the value of a variable typed on its own ([683f754](https://github.com/robotcodedev/robotcode/commit/683f754d3214b0755f23e82c5cdaad61ae27131a))
32
+
33
+ Typing `${x}` at the `robotcode repl` prompt failed with `Keyword name cannot be empty.` and marked the session as failed. Now a variable alone, also with item access, nested or as inline Python like `${{len($items)}}`, shows its value as `=> <value>`, at the `>>>` and `(rdb)` prompts and through `robotcode session send`. It is no keyword call, so the output files, `${_}` and `.save` don't see it, and Ctrl-C stops an expression that runs too long.
34
+
31
35
  - Drive the REPL and robot-debug from separate commands with robotcode session ([4987b86](https://github.com/robotcodedev/robotcode/commit/4987b86ddd1e600baee74eb3288de437d40c9adf))
32
36
 
33
37
  `robotcode session start repl` and `robotcode session start debug` run the REPL or a debug run in the background and print the ID of the session. `robotcode session send` gives it one input after the other and prints its output with an exit code that says how the input went; `wait`, `interrupt`, `list` and `stop` take care of the rest. When the REPL exits or the run ends, the session stays open, as a debugger does: `status` tells it, `result` prints the exit code of the REPL or the run, and `restart` starts it again in a new process, with the breakpoints as they are. So an AI agent whose tools can't type into a running program can work at the prompt turn by turn, on Linux, macOS and Windows. The output of a session stays in its memory, and where a sandbox doesn't let sessions run, `session start` says why.
@@ -46,11 +50,69 @@ All notable changes to this project will be documented in this file. See [conven
46
50
  sessions show it the same way, and the exit codes stay.
47
51
 
48
52
 
53
+ #### Runner
54
+
55
+ - Add results compare to put runs side by side ([7271b80](https://github.com/robotcodedev/robotcode/commit/7271b803f36dfe3bcc3e047445a3c1dcaba1c579))
56
+
57
+ `robotcode results compare` takes two or more result files and shows them
58
+ next to each other, from the counts of every run to which tests are flaky,
59
+ since when a test fails, which failure hits many tests, what got slower, and
60
+ the errors, warnings and environment of each run. Runs can be named with
61
+ `NAME=PATH` and grouped by a metadata value such as the platform.
62
+
63
+ - Let results diff fail a build with --exit-code ([14c6b19](https://github.com/robotcodedev/robotcode/commit/14c6b1987946ea3a268afa16eee8fda46aa3ed5f))
64
+
65
+ With `--exit-code`, `robotcode results diff` exits with a code that tells which
66
+ categories have entries: 1 new failures, 2 new passes, 4 status changes, 8 added
67
+ and 16 removed tests, added up. `--only` and the filters decide what counts, so
68
+ `--only new-failures --exit-code` is a regression gate without `jq`, and
69
+ `--exit-code-mask` keeps categories in the output but out of the code. Without
70
+ the option `diff` still exits 0.
71
+
72
+ - Exit with 128 for every error of a results command ([514bd36](https://github.com/robotcodedev/robotcode/commit/514bd361955968293ce86eb8489c88485db973dc))
73
+
74
+ Every `robotcode results` command now ends with exit code 128 when an error
75
+ stops it: a missing or unreadable result file, an invalid option value, an
76
+ invalid `robot.toml` or a crash. So a script can tell an error apart from what
77
+ the command found (#685).
78
+
79
+
80
+ #### VS Code
81
+
82
+ - Require VS Code 1.131 ([f91dbf6](https://github.com/robotcodedev/robotcode/commit/f91dbf6f51cb82596dcffc1c501df069924a5112))
83
+
84
+ The VS Code extension now needs VS Code 1.131 or newer, the first version that reads the bundled agent plugin through its Agent Plugins manifest. Older VS Code versions keep the newest RobotCode release they can install.
85
+
86
+
49
87
 
50
88
  ### <!-- 1 -->Bug Fixes
51
89
 
90
+ #### CLI
91
+
92
+ - Write the help and messages of robotcode and analyze in ASCII ([12a719b](https://github.com/robotcodedev/robotcode/commit/12a719b36b66e5dc365f04e2abda169bcfa5fc34))
93
+
94
+ The help of every command, the messages of `config` and `profiles`, and the
95
+ output of `analyze cache` are plain ASCII now, so they work on any console
96
+ or pipe, also on Windows. Names, messages and documentation from a project
97
+ keep their characters; `PYTHONUTF8=1` gives UTF-8 output for them.
98
+
99
+
100
+ #### Debugger
101
+
102
+ - Write the error for exhausted IDs in English ([225834f](https://github.com/robotcodedev/robotcode/commit/225834f12e5c6fdc23cc2ba386c9ce7c654d5afa))
103
+ - Read a variable only if the whole expression is one ([704bb76](https://github.com/robotcodedev/robotcode/commit/704bb7633a958076f2680465217ecd9d5c9c85a6))
104
+
105
+ In the Debug Console, `${user} logs in to ${page}` returned the text instead of running the keyword, and `${{1 + 1}}` failed. A watch `${n} + ${n}` showed `2 + 2` instead of calculating, and at the `(rdb)` prompt `.print ${${inner}}` and `.print ${{"a" + "b"}}` failed with a `NameError`. Now these all work, the same way in both debuggers. A watch that joins two variables, like `${x}${x}`, now counts as an expression too. (#684)
106
+
107
+
52
108
  #### PyCharm
53
109
 
110
+ - Make "Attach Python" work in PyCharm 2026.3 ([ea0f4b8](https://github.com/robotcodedev/robotcode/commit/ea0f4b837417355080502b76523c94b9c6360f85))
111
+
112
+ A Debug run with "Attach Python" now also starts in PyCharm 2026.3, whose
113
+ Python debug runner starts runs differently, with both sessions, Stop and
114
+ Rerun as in PyCharm 2026.1 and 2026.2.
115
+
54
116
  - End a debug session with the Terminal tab in front ([0d6b972](https://github.com/robotcodedev/robotcode/commit/0d6b972ec1bbd4d171b94a96791b56e1e8343df1))
55
117
 
56
118
  A debug session in PyCharm now ends with the Terminal tab in front, as a
@@ -61,6 +123,13 @@ All notable changes to this project will be documented in this file. See [conven
61
123
 
62
124
  #### REPL
63
125
 
126
+ - Write the REPL's text and robotcode doc in ASCII ([9189e01](https://github.com/robotcodedev/robotcode/commit/9189e0153c519b0680af14f02e599e7a7f3d520a))
127
+
128
+ The help texts, messages and `.help` of `robotcode repl` and `robot-debug`
129
+ no longer use dashes, arrows or ellipses outside ASCII. `robotcode doc`
130
+ writes signatures as Libdoc does, `table, /, column, *names`, instead of
131
+ marking arguments with symbols; the hovers in the editors keep theirs (#683).
132
+
64
133
  - Stop at a line breakpoint given with a root but no drive on Windows ([ab061f4](https://github.com/robotcodedev/robotcode/commit/ab061f4846d8a1fd957eebda05b00459fa79f613))
65
134
 
66
135
  `--break \tests\login.robot:42` names one file on the current drive, but it was
@@ -162,6 +231,16 @@ All notable changes to this project will be documented in this file. See [conven
162
231
 
163
232
  #### Runner
164
233
 
234
+ - Write the output of results and discover in ASCII ([51b9b9b](https://github.com/robotcodedev/robotcode/commit/51b9b9bba0bfc9f1c0e3d8ea4252a8b4c3b8586e))
235
+
236
+ On Windows, `robotcode results` stopped with exit code 128 and printed
237
+ nothing when its output went to a pipe or a file, because the status icons
238
+ and arrows don't exist in the code page Python writes there. The results and
239
+ discover commands now write their own text in ASCII: statuses as bold words,
240
+ `->`, `...` and `, `. `--format json` escapes every character outside ASCII,
241
+ and `--color` writes plain Markdown where the stream can't take Unicode
242
+ (#683).
243
+
165
244
  - Show the suites above a test in results log --suite-info ([989344d](https://github.com/robotcodedev/robotcode/commit/989344d994597d4c5942b1a5bbb23a03a10e8f8d))
166
245
 
167
246
  The text output of `robotcode results log --suite-info` showed only the suite a
@@ -179,6 +258,12 @@ All notable changes to this project will be documented in this file. See [conven
179
258
 
180
259
  #### VS Code
181
260
 
261
+ - Show the real error when the marketplace setting can't be written ([ae1774f](https://github.com/robotcodedev/robotcode/commit/ae1774fb17383ab8806d123d426ed949ddbcbb17))
262
+
263
+ *Add Chat Plugins Marketplace* and *Remove Chat Plugins Marketplace* said that
264
+ the setting needs GitHub Copilot Chat. VS Code provides
265
+ `chat.plugins.marketplaces` itself, so the message now shows the error.
266
+
182
267
  - Stay quiet in folders without Robot Framework ([9691d40](https://github.com/robotcodedev/robotcode/commit/9691d40e180a7a68a85f94ab94a15667877123d4))
183
268
 
184
269
  In a workspace folder without Robot Framework, such as a TypeScript project in which a Markdown file or a debug
@@ -203,6 +288,43 @@ All notable changes to this project will be documented in this file. See [conven
203
288
 
204
289
  #### Website
205
290
 
291
+ - Name the Agent Plugins standard ([f9245ef](https://github.com/robotcodedev/robotcode/commit/f9245efabd92daac1f9f229988c5f3065d2931ce))
292
+
293
+ The home page and the AI agents guide say that other agents that support the
294
+ Agent Plugins standard can load the plugin too, instead of naming Open Plugins.
295
+
296
+ - Correct the pages of the AI agents guide around the tutorial ([bc3cc84](https://github.com/robotcodedev/robotcode/commit/bc3cc84c47a0a3eaf9ef936f3aa2c01ed06e735f))
297
+
298
+ Setting Up, Briefing the Agent, How the Skill Works, Troubleshooting and the
299
+ overview no longer call the debugger the first tool for a failing test, name
300
+ the commands that really update the plugin, and say where `robotcode` runs in
301
+ VS Code and which agents work in PyCharm. Troubleshooting has a heading per
302
+ symptom, and the pages are worded like the tutorial.
303
+
304
+ - Show the output samples in ASCII as robotcode writes them ([c230c6d](https://github.com/robotcodedev/robotcode/commit/c230c6d7e2a3438bb67375a5fc96aa049ae0284f))
305
+
306
+ The samples of `results`, `discover` and `analyze` show `...` where a value is
307
+ cut, and the JSON of `discover` writes characters outside ASCII as `\u`
308
+ escapes, which its schema rules now say as well.
309
+
310
+ - Let the AI agents tutorial start from questions to the agent ([796da1e](https://github.com/robotcodedev/robotcode/commit/796da1eb7d3128a34ee4333eb5c2d5315dcf6c1d))
311
+
312
+ Each step of the tutorial now starts from what the reader wants to know and
313
+ shows short answers of real runs, with the `robotcode` commands the agent ran
314
+ linked to their documentation. The recorded sessions are gone.
315
+
316
+ - Link the example project of the AI agents guide ([1a7e853](https://github.com/robotcodedev/robotcode/commit/1a7e85381e901a4ec1e56ef6f0c0df04d7562f26))
317
+
318
+ The tutorial's example project is now public in robotcodedev/webshop-ai-example.
319
+ The guide links to it and says how it differs from the recorded sessions.
320
+
321
+ - Explain why an agent can pick the wrong skill ([8425fd8](https://github.com/robotcodedev/robotcode/commit/8425fd898b8bc1d30301b34105fcf4d364d96e82))
322
+
323
+ The list of skills an agent chooses from has a limited size. With several
324
+ skills, and sooner with a small context window, it overflows and a skill may
325
+ keep only its name. The Troubleshooting page now says what that looks like and
326
+ what helps.
327
+
206
328
  - Say that results log --suite-info shows the suites above a test ([9fcb44b](https://github.com/robotcodedev/robotcode/commit/9fcb44b285fcc1dc964bd1854531128ea4d3984f))
207
329
 
208
330
  The guide on analyzing results describes the new output with an example, and the
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode
3
- Version: 2.9.0-dev.124
3
+ Version: 2.9.0-dev.180
4
4
  Summary: Command line interface for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -34,35 +34,35 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
34
34
  Classifier: Topic :: Utilities
35
35
  Classifier: Typing :: Typed
36
36
  Requires-Python: >=3.10
37
- Requires-Dist: robotcode-core==2.9.0-dev.124
38
- Requires-Dist: robotcode-plugin==2.9.0-dev.124
39
- Requires-Dist: robotcode-robot==2.9.0-dev.124
37
+ Requires-Dist: robotcode-core==2.9.0-dev.180
38
+ Requires-Dist: robotcode-plugin==2.9.0-dev.180
39
+ Requires-Dist: robotcode-robot==2.9.0-dev.180
40
40
  Provides-Extra: all
41
41
  Requires-Dist: docutils; extra == 'all'
42
42
  Requires-Dist: pyyaml>=5.4; extra == 'all'
43
- Requires-Dist: robotcode-analyze==2.9.0-dev.124; extra == 'all'
44
- Requires-Dist: robotcode-debugger==2.9.0-dev.124; extra == 'all'
45
- Requires-Dist: robotcode-language-server==2.9.0-dev.124; extra == 'all'
46
- Requires-Dist: robotcode-repl-server==2.9.0-dev.124; extra == 'all'
47
- Requires-Dist: robotcode-repl==2.9.0-dev.124; extra == 'all'
48
- Requires-Dist: robotcode-runner==2.9.0-dev.124; extra == 'all'
43
+ Requires-Dist: robotcode-analyze==2.9.0-dev.180; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==2.9.0-dev.180; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==2.9.0-dev.180; extra == 'all'
46
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.180; extra == 'all'
47
+ Requires-Dist: robotcode-repl==2.9.0-dev.180; extra == 'all'
48
+ Requires-Dist: robotcode-runner==2.9.0-dev.180; extra == 'all'
49
49
  Requires-Dist: robotframework-robocop>=6.0.0; extra == 'all'
50
50
  Provides-Extra: analyze
51
- Requires-Dist: robotcode-analyze==2.9.0-dev.124; extra == 'analyze'
51
+ Requires-Dist: robotcode-analyze==2.9.0-dev.180; extra == 'analyze'
52
52
  Provides-Extra: debugger
53
- Requires-Dist: robotcode-debugger==2.9.0-dev.124; extra == 'debugger'
53
+ Requires-Dist: robotcode-debugger==2.9.0-dev.180; extra == 'debugger'
54
54
  Provides-Extra: languageserver
55
- Requires-Dist: robotcode-language-server==2.9.0-dev.124; extra == 'languageserver'
55
+ Requires-Dist: robotcode-language-server==2.9.0-dev.180; extra == 'languageserver'
56
56
  Provides-Extra: lint
57
57
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
58
58
  Provides-Extra: repl
59
- Requires-Dist: robotcode-repl==2.9.0-dev.124; extra == 'repl'
59
+ Requires-Dist: robotcode-repl==2.9.0-dev.180; extra == 'repl'
60
60
  Provides-Extra: replserver
61
- Requires-Dist: robotcode-repl-server==2.9.0-dev.124; extra == 'replserver'
61
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.180; extra == 'replserver'
62
62
  Provides-Extra: rest
63
63
  Requires-Dist: docutils; extra == 'rest'
64
64
  Provides-Extra: runner
65
- Requires-Dist: robotcode-runner==2.9.0-dev.124; extra == 'runner'
65
+ Requires-Dist: robotcode-runner==2.9.0-dev.180; extra == 'runner'
66
66
  Provides-Extra: yaml
67
67
  Requires-Dist: pyyaml>=5.4; extra == 'yaml'
68
68
  Description-Content-Type: text/markdown
@@ -146,7 +146,7 @@ For the complete feature reference, see the [official documentation](https://rob
146
146
  RobotCode's CI tests only these combinations, to keep the effort low. Other combinations may work, but using them is your own responsibility. For example, Robot Framework versions before 7.5 may not work with Python 3.15.
147
147
 
148
148
  **Editor / IDE — any LSP-capable editor works.** For the dedicated extensions you need one of:
149
- - Visual Studio Code 1.127.0 or newer
149
+ - Visual Studio Code 1.131.0 or newer
150
150
  - PyCharm / IntelliJ IDEA 2026.1 or newer
151
151
 
152
152
  Other editors (Neovim, Sublime Text, Helix, Emacs, …) connect to the language server via the `languageserver` extra from PyPI — see [Command Line and Other Editors](#command-line-and-other-editors) below.
@@ -77,7 +77,7 @@ For the complete feature reference, see the [official documentation](https://rob
77
77
  RobotCode's CI tests only these combinations, to keep the effort low. Other combinations may work, but using them is your own responsibility. For example, Robot Framework versions before 7.5 may not work with Python 3.15.
78
78
 
79
79
  **Editor / IDE — any LSP-capable editor works.** For the dedicated extensions you need one of:
80
- - Visual Studio Code 1.127.0 or newer
80
+ - Visual Studio Code 1.131.0 or newer
81
81
  - PyCharm / IntelliJ IDEA 2026.1 or newer
82
82
 
83
83
  Other editors (Neovim, Sublime Text, Helix, Emacs, …) connect to the language server via the `languageserver` extra from PyPI — see [Command Line and Other Editors](#command-line-and-other-editors) below.
@@ -49,26 +49,26 @@ classifiers = [
49
49
  "Framework :: Robot Framework :: Tool",
50
50
  ]
51
51
  requires-python = ">=3.10"
52
- dependencies = ["robotcode-core==2.9.0-dev.124", "robotcode-plugin==2.9.0-dev.124", "robotcode-robot==2.9.0-dev.124"]
52
+ dependencies = ["robotcode-core==2.9.0-dev.180", "robotcode-plugin==2.9.0-dev.180", "robotcode-robot==2.9.0-dev.180"]
53
53
  dynamic = ["version"]
54
54
 
55
55
  [project.optional-dependencies]
56
- debugger = ["robotcode-debugger==2.9.0-dev.124"]
57
- languageserver = ["robotcode-language-server==2.9.0-dev.124"]
58
- runner = ["robotcode-runner==2.9.0-dev.124"]
59
- analyze = ["robotcode-analyze==2.9.0-dev.124"]
56
+ debugger = ["robotcode-debugger==2.9.0-dev.180"]
57
+ languageserver = ["robotcode-language-server==2.9.0-dev.180"]
58
+ runner = ["robotcode-runner==2.9.0-dev.180"]
59
+ analyze = ["robotcode-analyze==2.9.0-dev.180"]
60
60
  yaml = ["PyYAML>=5.4"]
61
61
  lint = ["robotframework-robocop>=2.0.0"]
62
62
  rest = ["docutils"]
63
- repl = ["robotcode-repl==2.9.0-dev.124"]
64
- replserver = ["robotcode-repl-server==2.9.0-dev.124"]
63
+ repl = ["robotcode-repl==2.9.0-dev.180"]
64
+ replserver = ["robotcode-repl-server==2.9.0-dev.180"]
65
65
  all = [
66
- "robotcode-debugger==2.9.0-dev.124",
67
- "robotcode-language-server==2.9.0-dev.124",
68
- "robotcode-runner==2.9.0-dev.124",
69
- "robotcode-analyze==2.9.0-dev.124",
70
- "robotcode-repl==2.9.0-dev.124",
71
- "robotcode-repl-server==2.9.0-dev.124",
66
+ "robotcode-debugger==2.9.0-dev.180",
67
+ "robotcode-language-server==2.9.0-dev.180",
68
+ "robotcode-runner==2.9.0-dev.180",
69
+ "robotcode-analyze==2.9.0-dev.180",
70
+ "robotcode-repl==2.9.0-dev.180",
71
+ "robotcode-repl-server==2.9.0-dev.180",
72
72
  "PyYAML>=5.4",
73
73
  "robotframework-robocop>=6.0.0",
74
74
  "docutils"
@@ -2,6 +2,7 @@ import json
2
2
  import logging
3
3
  import logging.config
4
4
  import os
5
+ import traceback
5
6
  from pathlib import Path
6
7
  from typing import IO, Any, List, Literal, Mapping, Optional
7
8
 
@@ -18,7 +19,7 @@ from robotcode.plugin import (
18
19
  )
19
20
  from robotcode.plugin._agent_detection import is_running_in_ai_agent
20
21
  from robotcode.plugin.click_helper.aliases import AliasedGroup
21
- from robotcode.plugin.click_helper.exit_codes import has_robot_exit_codes
22
+ from robotcode.plugin.click_helper.exit_codes import has_errors_exit_with_128, has_robot_exit_codes
22
23
  from robotcode.plugin.click_helper.types import EnumChoice
23
24
  from robotcode.plugin.click_helper.wrappable import WRAPPER_APPLIED_ENV, invoked_command_is_wrappable, is_wrappable
24
25
  from robotcode.plugin.manager import PluginManager
@@ -122,6 +123,17 @@ class RobotDataError(RobotCodeError):
122
123
  self.exit_code = 252 # type: ignore[misc]
123
124
 
124
125
 
126
+ class FindingsCommandError(RobotCodeError):
127
+ """An error robotcode reports itself for a command marked `errors_exit_with_128`.
128
+
129
+ Exits with 128 instead of Click's 1 or 2, which such a command uses for what it found.
130
+ """
131
+
132
+ def __init__(self, error: click.ClickException, app: Application) -> None:
133
+ super().__init__(error, app)
134
+ self.exit_code = 128 # type: ignore[misc]
135
+
136
+
125
137
  class RobotCodeGroup(AliasedGroup):
126
138
  """The root command group.
127
139
 
@@ -131,7 +143,9 @@ class RobotCodeGroup(AliasedGroup):
131
143
  exit code 1 or 2, such as a broken configuration, a wrapper that doesn't start or an
132
144
  invalid option - exits with Robot Framework's 252 instead. Robot Framework's own exit
133
145
  codes never arrive as Click errors, so they pass through unchanged, and so does any
134
- other code.
146
+ other code. Every Click error and every unexpected exception of a command marked
147
+ `errors_exit_with_128` exits with 128, because the command uses its lower exit codes
148
+ for what it found; the exception's traceback is written as before.
135
149
 
136
150
  Every Click error of a command or of the group's own options is written as
137
151
  `[ ERROR ] <message>`, with the `Application` of the command. An error that comes
@@ -163,14 +177,25 @@ class RobotCodeGroup(AliasedGroup):
163
177
  return super().invoke(ctx)
164
178
  except click.ClickException as e:
165
179
  app = ctx.find_object(Application) or _application_for(ctx.params)
166
- if e.exit_code in (1, 2) and self._passes_on_robot_exit_codes(ctx):
180
+ cmd = self._invoked_command(ctx)
181
+ if cmd is not None and has_errors_exit_with_128(cmd):
182
+ raise FindingsCommandError(e, app) from e
183
+ if e.exit_code in (1, 2) and cmd is not None and (is_wrappable(cmd) or has_robot_exit_codes(cmd)):
167
184
  raise RobotDataError(e, app) from e
168
185
  raise RobotCodeError(e, app) from e
169
-
170
- def _passes_on_robot_exit_codes(self, ctx: click.Context) -> bool:
186
+ except (click.exceptions.Exit, click.Abort):
187
+ raise
188
+ except Exception:
189
+ cmd = self._invoked_command(ctx)
190
+ if cmd is None or not has_errors_exit_with_128(cmd):
191
+ raise
192
+ # written as Python writes an exception that nobody catches
193
+ traceback.print_exc()
194
+ ctx.exit(128)
195
+
196
+ def _invoked_command(self, ctx: click.Context) -> Optional[click.Command]:
171
197
  name = ctx.invoked_subcommand
172
- cmd = self.get_command(ctx, name) if name else None
173
- return cmd is not None and (is_wrappable(cmd) or has_robot_exit_codes(cmd))
198
+ return self.get_command(ctx, name) if name else None
174
199
 
175
200
 
176
201
  @click.group(
@@ -236,8 +261,8 @@ class RobotCodeGroup(AliasedGroup):
236
261
  default=None,
237
262
  help=(
238
263
  "Enable or disable colored output. Color codes are written only to a terminal; set `FORCE_COLOR` to get"
239
- " them in a pipe. Default (no flag): auto-detect — colors only when stdout is a TTY, disabled if `NO_COLOR`"
240
- " is set, forced if `FORCE_COLOR` is set."
264
+ " them in a pipe. Default (no flag): auto-detect (colors only when stdout is a TTY, disabled if `NO_COLOR`"
265
+ " is set, forced if `FORCE_COLOR` is set)."
241
266
  ),
242
267
  show_envvar=True,
243
268
  )
@@ -0,0 +1 @@
1
+ __version__ = "2.9.0-dev.180"
@@ -141,9 +141,9 @@ def files(app: Application, paths: List[Path], user: bool = False) -> None:
141
141
 
142
142
  messages = []
143
143
  if discovered_by == DiscoverdBy.NOT_FOUND:
144
- messages += ["Cannot detect root folder. 😥"]
144
+ messages += ["Cannot detect root folder."]
145
145
  elif not config_files:
146
- messages += ["Cannot find any configuration file. 😥"]
146
+ messages += ["Cannot find any configuration file."]
147
147
  if messages:
148
148
  result["messages"] = messages
149
149
 
@@ -185,7 +185,7 @@ def root(app: Application, paths: Tuple[Path, ...]) -> None:
185
185
  )
186
186
 
187
187
  if root_folder is None and (app.config.output_format is None or app.config.output_format == OutputFormat.TEXT):
188
- raise click.ClickException("Cannot detect root folder. 😥")
188
+ raise click.ClickException("Cannot detect root folder.")
189
189
 
190
190
  result: Dict[str, Any] = {
191
191
  "root": {
@@ -196,7 +196,7 @@ def root(app: Application, paths: Tuple[Path, ...]) -> None:
196
196
 
197
197
  messages = []
198
198
  if discovered_by == DiscoverdBy.NOT_FOUND:
199
- messages += ["Cannot detect root folder. 😥"]
199
+ messages += ["Cannot detect root folder."]
200
200
 
201
201
  if messages:
202
202
  result["messages"] = messages
@@ -127,9 +127,9 @@ def list(app: Application, paths: List[Path], show_hidden: bool = False, sort_by
127
127
 
128
128
  messages = []
129
129
  if discovered_by == DiscoverdBy.NOT_FOUND:
130
- messages += ["Cannot detect root folder. 😥"]
130
+ messages += ["Cannot detect root folder."]
131
131
  elif not config_files:
132
- messages += ["Cannot find any configuration file. 😥"]
132
+ messages += ["Cannot find any configuration file."]
133
133
  elif not config.profiles:
134
134
  messages += ["No profiles defined."]
135
135
  if messages:
@@ -1 +0,0 @@
1
- __version__ = "2.9.0-dev.124"