robotcode-runner 2.9.0.dev180__py3-none-any.whl → 2.9.0.dev197__py3-none-any.whl
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.
- robotcode/runner/__version__.py +1 -1
- robotcode/runner/cli/discover/_models.py +2 -0
- robotcode/runner/cli/discover/_render.py +8 -1
- robotcode/runner/cli/discover/discover.py +4 -0
- {robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/METADATA +5 -5
- {robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/RECORD +8 -8
- {robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/WHEEL +0 -0
- {robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/entry_points.txt +0 -0
robotcode/runner/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.9.0-dev.
|
|
1
|
+
__version__ = "2.9.0-dev.197"
|
|
@@ -11,6 +11,7 @@ from typing import Dict, List, Optional
|
|
|
11
11
|
|
|
12
12
|
from robotcode.core.lsp.types import Diagnostic, DocumentUri, Range
|
|
13
13
|
from robotcode.core.utils.dataclasses import CamelSnakeMixin
|
|
14
|
+
from robotcode.robot.document_formats import DocumentFormat
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
@dataclass
|
|
@@ -76,3 +77,4 @@ class Info(CamelSnakeMixin):
|
|
|
76
77
|
platform: str
|
|
77
78
|
system: str
|
|
78
79
|
system_version: str
|
|
80
|
+
document_formats: Optional[List[DocumentFormat]] = None
|
|
@@ -214,12 +214,19 @@ def render_info(info: Info) -> str:
|
|
|
214
214
|
rows: List[List[str]] = []
|
|
215
215
|
for f in fields(info):
|
|
216
216
|
value = getattr(info, f.name)
|
|
217
|
-
if not value:
|
|
217
|
+
if not value or f.name == "document_formats":
|
|
218
218
|
continue
|
|
219
219
|
label = _INFO_LABELS.get(f.name) or f.name.replace("_", " ").title()
|
|
220
220
|
rows.append([label, str(value)])
|
|
221
221
|
|
|
222
222
|
parts = ["# Info", "", field_list_md(rows, empty_text="_(no fields)_")]
|
|
223
|
+
if info.document_formats:
|
|
224
|
+
parts += [
|
|
225
|
+
"",
|
|
226
|
+
"## Document Formats",
|
|
227
|
+
"",
|
|
228
|
+
field_list_md([[f.name, ", ".join(f"`{e}`" for e in f.extensions)] for f in info.document_formats]),
|
|
229
|
+
]
|
|
223
230
|
return "\n".join(parts) + "\n"
|
|
224
231
|
|
|
225
232
|
|
|
@@ -49,6 +49,7 @@ from robotcode.plugin import (
|
|
|
49
49
|
pass_application,
|
|
50
50
|
)
|
|
51
51
|
from robotcode.plugin.click_helper.types import add_options
|
|
52
|
+
from robotcode.robot.document_formats import document_formats
|
|
52
53
|
from robotcode.robot.utils import RF_VERSION
|
|
53
54
|
|
|
54
55
|
from .._markdown import make_md_highlighter
|
|
@@ -1237,6 +1238,8 @@ def info(app: Application) -> None:
|
|
|
1237
1238
|
|
|
1238
1239
|
from ...__version__ import __version__
|
|
1239
1240
|
|
|
1241
|
+
_, profile, _ = handle_robot_options(app, ())
|
|
1242
|
+
|
|
1240
1243
|
robot_env: Dict[str, str] = {}
|
|
1241
1244
|
if "ROBOT_OPTIONS" in os.environ:
|
|
1242
1245
|
robot_env["ROBOT_OPTIONS"] = os.environ["ROBOT_OPTIONS"]
|
|
@@ -1264,6 +1267,7 @@ def info(app: Application) -> None:
|
|
|
1264
1267
|
sys.platform,
|
|
1265
1268
|
platform.system(),
|
|
1266
1269
|
platform.version(),
|
|
1270
|
+
document_formats(profile) or None,
|
|
1267
1271
|
)
|
|
1268
1272
|
|
|
1269
1273
|
if app.config.output_format is None or app.config.output_format == OutputFormat.TEXT:
|
{robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: robotcode-runner
|
|
3
|
-
Version: 2.9.0-dev.
|
|
3
|
+
Version: 2.9.0-dev.197
|
|
4
4
|
Summary: RobotCode runner for Robot Framework
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
|
@@ -26,10 +26,10 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
26
26
|
Classifier: Topic :: Utilities
|
|
27
27
|
Classifier: Typing :: Typed
|
|
28
28
|
Requires-Python: >=3.10
|
|
29
|
-
Requires-Dist: robotcode-modifiers==2.9.0-dev.
|
|
30
|
-
Requires-Dist: robotcode-plugin==2.9.0-dev.
|
|
31
|
-
Requires-Dist: robotcode-robot==2.9.0-dev.
|
|
32
|
-
Requires-Dist: robotcode==2.9.0-dev.
|
|
29
|
+
Requires-Dist: robotcode-modifiers==2.9.0-dev.197
|
|
30
|
+
Requires-Dist: robotcode-plugin==2.9.0-dev.197
|
|
31
|
+
Requires-Dist: robotcode-robot==2.9.0-dev.197
|
|
32
|
+
Requires-Dist: robotcode==2.9.0-dev.197
|
|
33
33
|
Requires-Dist: robotframework>=5.0.0
|
|
34
34
|
Provides-Extra: html
|
|
35
35
|
Requires-Dist: html-to-markdown>=3.18; extra == 'html'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
robotcode/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
robotcode/runner/__version__.py,sha256=
|
|
2
|
+
robotcode/runner/__version__.py,sha256=TuhAPY5tWcB-O8yUsip8A5BqXPAkWXdXI0Yu5xcu0h8,30
|
|
3
3
|
robotcode/runner/hooks.py,sha256=MSqEHc3wQIBgCXf9U9B0sA_zE8vbiTdoAlfaWz_3uIo,270
|
|
4
4
|
robotcode/runner/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
|
5
5
|
robotcode/runner/cli/__init__.py,sha256=ozQtrMXxWIlJz3QKZhaGEIDjSCL0TPtF1XeP8WL8HrE,240
|
|
@@ -11,16 +11,16 @@ robotcode/runner/cli/rebot.py,sha256=QIKYJD-4w7wquv46EygylNhBWXq1hj7-jV7vZvAHuHw
|
|
|
11
11
|
robotcode/runner/cli/robot.py,sha256=S5dbBGpzEmRMCrSe-4BfxWXWF3frbK3GufpvRxFozBs,16853
|
|
12
12
|
robotcode/runner/cli/testdoc.py,sha256=UMpa1GOuyAIENGziepSprM4vHmR0QNfyBYWKN9cqd38,3756
|
|
13
13
|
robotcode/runner/cli/discover/__init__.py,sha256=CRFSvVDlOX1avV3kx-d2QUOugDvgKPy8RBApsAUq15s,55
|
|
14
|
-
robotcode/runner/cli/discover/_models.py,sha256=
|
|
15
|
-
robotcode/runner/cli/discover/_render.py,sha256=
|
|
16
|
-
robotcode/runner/cli/discover/discover.py,sha256=
|
|
14
|
+
robotcode/runner/cli/discover/_models.py,sha256=fTzrN-kY344M6y7ZMBCLfxvU_SdNx0hV2MVu1HrKrV8,2247
|
|
15
|
+
robotcode/runner/cli/discover/_render.py,sha256=ptwrzwJLRHw7yKlTtamcAJ8Zx0jW6zuo8F10TUNNPtU,20362
|
|
16
|
+
robotcode/runner/cli/discover/discover.py,sha256=TLu0Bh-fq3BFAuJQRIODSmdYBwgDBbl4WiKfG9ildC8,47148
|
|
17
17
|
robotcode/runner/cli/results/__init__.py,sha256=aEyNen0WWvq3kF_VTRLz99_B5CMChM0aelpzWKW6Rac,52
|
|
18
18
|
robotcode/runner/cli/results/_compare.py,sha256=g5BNbVjHwGuZ7paLo1Q7wPWuqisSpclgYXrlM_bk_aQ,15937
|
|
19
19
|
robotcode/runner/cli/results/_html.py,sha256=jkShq-5EsSpsD1zxr2vZRaTlM7gkAOG5fsf29iBA3D0,26343
|
|
20
20
|
robotcode/runner/cli/results/_models.py,sha256=Bw5LVX15EVSePQVRICF3ah4bwx4LEEC3CRlf96XMy-M,11206
|
|
21
21
|
robotcode/runner/cli/results/_render.py,sha256=-sahMQqrJ5wt_ZNGo7NYgsQQ2uxeapiqwLe5L65rs18,43063
|
|
22
22
|
robotcode/runner/cli/results/results.py,sha256=bWIoDsAy2iU4-_aNa4wK6QQqzZ41Z9haw3tak6BJdjM,97964
|
|
23
|
-
robotcode_runner-2.9.0.
|
|
24
|
-
robotcode_runner-2.9.0.
|
|
25
|
-
robotcode_runner-2.9.0.
|
|
26
|
-
robotcode_runner-2.9.0.
|
|
23
|
+
robotcode_runner-2.9.0.dev197.dist-info/METADATA,sha256=3uhnrhabp69VtVvBjGdf5PkidvcMJ6-B6r8mGC9MJGY,3060
|
|
24
|
+
robotcode_runner-2.9.0.dev197.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
25
|
+
robotcode_runner-2.9.0.dev197.dist-info/entry_points.txt,sha256=igwjQYHlUfgCN-SohGVeQOnxOtqUzd2Jq94Ie8Se1Aw,44
|
|
26
|
+
robotcode_runner-2.9.0.dev197.dist-info/RECORD,,
|
|
File without changes
|
{robotcode_runner-2.9.0.dev180.dist-info → robotcode_runner-2.9.0.dev197.dist-info}/entry_points.txt
RENAMED
|
File without changes
|