robotcode-repl-server 2.4.0__tar.gz → 2.5.0__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.
@@ -334,4 +334,8 @@ bundled/libs
334
334
  results/
335
335
 
336
336
  # kilocode
337
- .kilocode/
337
+ .kilocode/
338
+
339
+ # .agents
340
+ .agents/
341
+ skills-lock.json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-repl-server
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: RobotCode REPL Server for Robot Framework
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -0,0 +1 @@
1
+ __version__ = "2.5.0"
@@ -11,7 +11,7 @@ from robot.utils.robottime import elapsed_time_to_string
11
11
 
12
12
  from robotcode.core.utils.dataclasses import as_json
13
13
  from robotcode.repl.base_interpreter import BaseInterpreter, is_true
14
- from robotcode.robot.utils import get_robot_version
14
+ from robotcode.robot.utils import RF_VERSION
15
15
 
16
16
  if TYPE_CHECKING:
17
17
  from robot import result, running
@@ -84,7 +84,7 @@ class KeywordResultData(ResultData):
84
84
  node_type: str = "keyword"
85
85
 
86
86
 
87
- if get_robot_version() < (7, 0):
87
+ if RF_VERSION < (7, 0):
88
88
 
89
89
  def make_elapsed_time_str(elapsed_time: Union[timedelta, int, float, None]) -> Optional[str]:
90
90
  if elapsed_time is None:
@@ -238,7 +238,7 @@ class Interpreter(BaseInterpreter):
238
238
  end_time=result.endtime,
239
239
  elapsed_time=(
240
240
  make_elapsed_time_str(result.elapsedtime)
241
- if get_robot_version() < (7, 0)
241
+ if RF_VERSION < (7, 0)
242
242
  else make_elapsed_time_str(result.elapsed_time)
243
243
  ),
244
244
  )
@@ -256,7 +256,7 @@ class Interpreter(BaseInterpreter):
256
256
  self._result_data.end_time = result.endtime
257
257
  self._result_data.elapsed_time = (
258
258
  make_elapsed_time_str(result.elapsedtime)
259
- if get_robot_version() < (7, 0)
259
+ if RF_VERSION < (7, 0)
260
260
  else make_elapsed_time_str(result.elapsed_time)
261
261
  )
262
262
  self._result_data.status = result.status
@@ -1 +0,0 @@
1
- __version__ = "2.4.0"