robotcode-runner 0.87.0__tar.gz → 0.89.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.
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/PKG-INFO +5 -5
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/pyproject.toml +4 -4
- robotcode_runner-0.89.0/src/robotcode/runner/__version__.py +1 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/discover/discover.py +4 -4
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/libdoc.py +1 -1
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/rebot.py +14 -2
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/robot.py +11 -2
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/testdoc.py +1 -1
- robotcode_runner-0.87.0/src/robotcode/runner/__version__.py +0 -1
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/.gitignore +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/LICENSE.txt +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/README.md +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/__init__.py +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/__init__.py +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/discover/__init__.py +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/hooks.py +0 -0
- {robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: robotcode-runner
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.89.0
|
|
4
4
|
Summary: RobotCode runner plugin for Robot Framework
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
|
@@ -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.
|
|
29
|
-
Requires-Dist: robotcode-plugin==0.
|
|
30
|
-
Requires-Dist: robotcode-robot==0.
|
|
31
|
-
Requires-Dist: robotcode==0.
|
|
28
|
+
Requires-Dist: robotcode-modifiers==0.89.0
|
|
29
|
+
Requires-Dist: robotcode-plugin==0.89.0
|
|
30
|
+
Requires-Dist: robotcode-robot==0.89.0
|
|
31
|
+
Requires-Dist: robotcode==0.89.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.
|
|
32
|
-
"robotcode-modifiers==0.
|
|
33
|
-
"robotcode-plugin==0.
|
|
34
|
-
"robotcode==0.
|
|
31
|
+
"robotcode-robot==0.89.0",
|
|
32
|
+
"robotcode-modifiers==0.89.0",
|
|
33
|
+
"robotcode-plugin==0.89.0",
|
|
34
|
+
"robotcode==0.89.0",
|
|
35
35
|
]
|
|
36
36
|
|
|
37
37
|
[project.entry-points.robotcode]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.89.0"
|
{robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/discover/discover.py
RENAMED
|
@@ -545,7 +545,7 @@ def handle_options(
|
|
|
545
545
|
@discover.command(
|
|
546
546
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
547
547
|
add_help_option=True,
|
|
548
|
-
epilog=
|
|
548
|
+
epilog="Use `-- --help` to see `robot` help.",
|
|
549
549
|
)
|
|
550
550
|
@click.option(
|
|
551
551
|
"--tags / --no-tags",
|
|
@@ -635,7 +635,7 @@ def all(
|
|
|
635
635
|
@discover.command(
|
|
636
636
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
637
637
|
add_help_option=True,
|
|
638
|
-
epilog=
|
|
638
|
+
epilog="Use `-- --help` to see `robot` help.",
|
|
639
639
|
)
|
|
640
640
|
@click.option(
|
|
641
641
|
"--tags / --no-tags",
|
|
@@ -709,7 +709,7 @@ def tests(
|
|
|
709
709
|
@discover.command(
|
|
710
710
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
711
711
|
add_help_option=True,
|
|
712
|
-
epilog=
|
|
712
|
+
epilog="Use `-- --help` to see `robot` help.",
|
|
713
713
|
)
|
|
714
714
|
@add_options(*ROBOT_OPTIONS)
|
|
715
715
|
@click.option(
|
|
@@ -771,7 +771,7 @@ class TagsResult:
|
|
|
771
771
|
@discover.command(
|
|
772
772
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
773
773
|
add_help_option=True,
|
|
774
|
-
epilog=
|
|
774
|
+
epilog="Use `-- --help` to see `robot` help.",
|
|
775
775
|
)
|
|
776
776
|
@click.option(
|
|
777
777
|
"--normalized / --not-normalized",
|
|
@@ -44,7 +44,7 @@ class LibDocEx(LibDoc):
|
|
|
44
44
|
@click.command(
|
|
45
45
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
46
46
|
add_help_option=True,
|
|
47
|
-
epilog=
|
|
47
|
+
epilog="Use `-- --help` to see the `libdoc` help.",
|
|
48
48
|
)
|
|
49
49
|
@click.version_option(
|
|
50
50
|
version=__version__,
|
|
@@ -11,6 +11,7 @@ from robotcode.plugin import Application, pass_application
|
|
|
11
11
|
from robotcode.robot.config.loader import load_robot_config_from_path
|
|
12
12
|
from robotcode.robot.config.model import RebotProfile
|
|
13
13
|
from robotcode.robot.config.utils import get_config_files
|
|
14
|
+
from robotcode.robot.utils import get_robot_version
|
|
14
15
|
|
|
15
16
|
from ..__version__ import __version__
|
|
16
17
|
|
|
@@ -44,7 +45,7 @@ class RebotEx(Rebot):
|
|
|
44
45
|
@click.command(
|
|
45
46
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
46
47
|
add_help_option=True,
|
|
47
|
-
epilog=
|
|
48
|
+
epilog="Use `-- --help` to see `rebot` help.",
|
|
48
49
|
)
|
|
49
50
|
@click.version_option(
|
|
50
51
|
version=__version__,
|
|
@@ -96,9 +97,20 @@ def rebot(app: Application, robot_options_and_args: Tuple[str, ...]) -> None:
|
|
|
96
97
|
+ " ".join(f'"{o}"' for o in (options + list(robot_options_and_args)))
|
|
97
98
|
)
|
|
98
99
|
|
|
100
|
+
console_links_args = []
|
|
101
|
+
if get_robot_version() >= (7, 1) and os.getenv("ROBOTCODE_DISABLE_ANSI_LINKS", "").lower() in [
|
|
102
|
+
"on",
|
|
103
|
+
"1",
|
|
104
|
+
"yes",
|
|
105
|
+
"true",
|
|
106
|
+
]:
|
|
107
|
+
console_links_args = ["--consolelinks", "off"]
|
|
108
|
+
|
|
99
109
|
app.exit(
|
|
100
110
|
cast(
|
|
101
111
|
int,
|
|
102
|
-
RebotEx(app.config.dry, root_folder).execute_cli(
|
|
112
|
+
RebotEx(app.config.dry, root_folder).execute_cli(
|
|
113
|
+
(*options, *console_links_args, *robot_options_and_args), exit=False
|
|
114
|
+
),
|
|
103
115
|
)
|
|
104
116
|
)
|
|
@@ -284,7 +284,7 @@ def handle_robot_options(
|
|
|
284
284
|
aliases=["run"],
|
|
285
285
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
286
286
|
add_help_option=True,
|
|
287
|
-
epilog=
|
|
287
|
+
epilog="Use `-- --help` to see `robot` help.",
|
|
288
288
|
)
|
|
289
289
|
@add_options(*ROBOT_OPTIONS)
|
|
290
290
|
@pass_application
|
|
@@ -311,6 +311,15 @@ def robot(
|
|
|
311
311
|
|
|
312
312
|
root_folder, profile, cmd_options = handle_robot_options(app, robot_options_and_args)
|
|
313
313
|
|
|
314
|
+
console_links_args = []
|
|
315
|
+
if get_robot_version() >= (7, 1) and os.getenv("ROBOTCODE_DISABLE_ANSI_LINKS", "").lower() in [
|
|
316
|
+
"on",
|
|
317
|
+
"1",
|
|
318
|
+
"yes",
|
|
319
|
+
"true",
|
|
320
|
+
]:
|
|
321
|
+
console_links_args = ["--consolelinks", "off"]
|
|
322
|
+
|
|
314
323
|
app.exit(
|
|
315
324
|
cast(
|
|
316
325
|
int,
|
|
@@ -325,6 +334,6 @@ def robot(
|
|
|
325
334
|
root_folder,
|
|
326
335
|
by_longname,
|
|
327
336
|
exclude_by_longname,
|
|
328
|
-
).execute_cli((*cmd_options, *robot_options_and_args), exit=False),
|
|
337
|
+
).execute_cli((*cmd_options, *console_links_args, *robot_options_and_args), exit=False),
|
|
329
338
|
)
|
|
330
339
|
)
|
|
@@ -44,7 +44,7 @@ class TestDocEx(TestDoc):
|
|
|
44
44
|
@click.command(
|
|
45
45
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
46
46
|
add_help_option=True,
|
|
47
|
-
epilog=
|
|
47
|
+
epilog="Use `-- --help` to see `testdoc` help.",
|
|
48
48
|
)
|
|
49
49
|
@click.version_option(
|
|
50
50
|
version=__version__,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.87.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_runner-0.87.0 → robotcode_runner-0.89.0}/src/robotcode/runner/cli/discover/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|