robotcode-runner 0.78.2__tar.gz → 0.79.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode-runner
3
- Version: 0.78.2
3
+ Version: 0.79.0
4
4
  Summary: RobotCode runner plugin for Robot Framework
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://github.com/sponsors/d-biehl
@@ -25,10 +25,10 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
25
25
  Classifier: Topic :: Utilities
26
26
  Classifier: Typing :: Typed
27
27
  Requires-Python: >=3.8
28
- Requires-Dist: robotcode-modifiers==0.78.2
29
- Requires-Dist: robotcode-plugin==0.78.2
30
- Requires-Dist: robotcode-robot==0.78.2
31
- Requires-Dist: robotcode==0.78.2
28
+ Requires-Dist: robotcode-modifiers==0.79.0
29
+ Requires-Dist: robotcode-plugin==0.79.0
30
+ Requires-Dist: robotcode-robot==0.79.0
31
+ Requires-Dist: robotcode==0.79.0
32
32
  Requires-Dist: robotframework>=4.1.0
33
33
  Description-Content-Type: text/markdown
34
34
 
@@ -28,10 +28,10 @@ classifiers = [
28
28
  dynamic = ["version"]
29
29
  dependencies = [
30
30
  "robotframework>=4.1.0",
31
- "robotcode-robot==0.78.2",
32
- "robotcode-modifiers==0.78.2",
33
- "robotcode-plugin==0.78.2",
34
- "robotcode==0.78.2",
31
+ "robotcode-robot==0.79.0",
32
+ "robotcode-modifiers==0.79.0",
33
+ "robotcode-plugin==0.79.0",
34
+ "robotcode==0.79.0",
35
35
  ]
36
36
 
37
37
  [project.entry-points.robotcode]
@@ -0,0 +1 @@
1
+ __version__ = "0.79.0"
@@ -39,6 +39,7 @@ from robotcode.core.lsp.types import (
39
39
  from robotcode.core.uri import Uri
40
40
  from robotcode.core.utils.cli import show_hidden_arguments
41
41
  from robotcode.core.utils.dataclasses import from_json
42
+ from robotcode.core.utils.path import normalized_path
42
43
  from robotcode.plugin import (
43
44
  Application,
44
45
  OutputFormat,
@@ -273,7 +274,7 @@ class Collector(SuiteVisitor):
273
274
  self._collected[-1][suite.name] = True
274
275
  self._collected.append(NormalizedDict(ignore="_"))
275
276
  try:
276
- absolute_path = Path(suite.source).resolve() if suite.source else None
277
+ absolute_path = normalized_path(Path(suite.source)) if suite.source else None
277
278
  item = TestItem(
278
279
  type="suite",
279
280
  id=f"{absolute_path or ''};{suite.longname}",
@@ -328,7 +329,7 @@ class Collector(SuiteVisitor):
328
329
  if self._current.children is None:
329
330
  self._current.children = []
330
331
  try:
331
- absolute_path = Path(test.source).resolve() if test.source is not None else None
332
+ absolute_path = normalized_path(Path(test.source)) if test.source is not None else None
332
333
  item = TestItem(
333
334
  type="test",
334
335
  id=f"{absolute_path or ''};{test.longname};{test.lineno}",
@@ -417,7 +418,7 @@ def build_diagnostics(messages: List[Message]) -> Dict[str, List[Diagnostic]]:
417
418
  line: Optional[int] = None,
418
419
  text: Optional[str] = None,
419
420
  ) -> None:
420
- source_uri = str(Uri.from_path(Path(source_uri).resolve() if source_uri else Path.cwd()))
421
+ source_uri = str(Uri.from_path(normalized_path(Path(source_uri)) if source_uri else Path.cwd()))
421
422
 
422
423
  if source_uri not in result:
423
424
  result[source_uri] = []
@@ -1 +0,0 @@
1
- __version__ = "0.78.2"