robotcode 0.98.0__py3-none-any.whl → 0.100.0__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/cli/__init__.py +18 -7
- robotcode/cli/__version__.py +1 -1
- robotcode/cli/commands/profiles.py +1 -1
- {robotcode-0.98.0.dist-info → robotcode-0.100.0.dist-info}/METADATA +17 -14
- robotcode-0.100.0.dist-info/RECORD +12 -0
- robotcode-0.98.0.dist-info/RECORD +0 -12
- {robotcode-0.98.0.dist-info → robotcode-0.100.0.dist-info}/WHEEL +0 -0
- {robotcode-0.98.0.dist-info → robotcode-0.100.0.dist-info}/entry_points.txt +0 -0
- {robotcode-0.98.0.dist-info → robotcode-0.100.0.dist-info}/licenses/LICENSE.txt +0 -0
robotcode/cli/__init__.py
CHANGED
@@ -19,6 +19,20 @@ from robotcode.plugin.manager import PluginManager
|
|
19
19
|
from .__version__ import __version__
|
20
20
|
from .commands import config, profiles
|
21
21
|
|
22
|
+
old_make_metavar = click.Parameter.make_metavar
|
23
|
+
|
24
|
+
|
25
|
+
def my_make_metavar(self: click.Parameter) -> str:
|
26
|
+
metavar = old_make_metavar(self)
|
27
|
+
|
28
|
+
if isinstance(self, click.Option) and self.multiple:
|
29
|
+
metavar += " *"
|
30
|
+
|
31
|
+
return metavar
|
32
|
+
|
33
|
+
|
34
|
+
click.Parameter.make_metavar = my_make_metavar # type: ignore[method-assign]
|
35
|
+
|
22
36
|
|
23
37
|
class RobotCodeFormatter(logging.Formatter):
|
24
38
|
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
@@ -38,8 +52,7 @@ class RobotCodeFormatter(logging.Formatter):
|
|
38
52
|
multiple=True,
|
39
53
|
show_envvar=True,
|
40
54
|
help="""\
|
41
|
-
Config file to use.
|
42
|
-
If not specified, the default config file is used.
|
55
|
+
Config file to use. If not specified, the default config file is used.
|
43
56
|
""",
|
44
57
|
)
|
45
58
|
@click.option(
|
@@ -50,8 +63,7 @@ class RobotCodeFormatter(logging.Formatter):
|
|
50
63
|
multiple=True,
|
51
64
|
show_envvar=True,
|
52
65
|
help="""\
|
53
|
-
The Execution Profile to use.
|
54
|
-
If not specified, the default profile is used.
|
66
|
+
The Execution Profile to use. If not specified, the default profile is used.
|
55
67
|
""",
|
56
68
|
)
|
57
69
|
@click.option(
|
@@ -59,7 +71,6 @@ class RobotCodeFormatter(logging.Formatter):
|
|
59
71
|
"--root",
|
60
72
|
"root",
|
61
73
|
type=click.Path(exists=True, path_type=Path, dir_okay=True, file_okay=False, resolve_path=True),
|
62
|
-
multiple=False,
|
63
74
|
show_envvar=True,
|
64
75
|
help="Specifies the root path to be used for the project. It will be automatically detected if not provided.",
|
65
76
|
)
|
@@ -157,8 +168,8 @@ class RobotCodeFormatter(logging.Formatter):
|
|
157
168
|
type=click.Path(exists=False, resolve_path=False, path_type=str),
|
158
169
|
multiple=True,
|
159
170
|
hidden=show_hidden_arguments(),
|
160
|
-
help="Default path to use if no path is given or defined in a profile.
|
161
|
-
"**This is an internal option for running in vscode",
|
171
|
+
help="Default path to use if no path is given or defined in a profile. "
|
172
|
+
"**This is an internal option for running in vscode**",
|
162
173
|
)
|
163
174
|
@click.option(
|
164
175
|
"--launcher-script",
|
robotcode/cli/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.100.0"
|
@@ -102,7 +102,7 @@ def list(app: Application, paths: List[Path], show_hidden: bool = False, sort_by
|
|
102
102
|
"precedence": v.precedence,
|
103
103
|
}
|
104
104
|
for k, v in (config.profiles or {}).items()
|
105
|
-
if show_hidden or not k.startswith("_") and not v.hidden
|
105
|
+
if show_hidden or (not k.startswith("_") and not v.hidden)
|
106
106
|
],
|
107
107
|
key=(
|
108
108
|
(lambda v: cast(Any, str(v.get("name", ""))))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: robotcode
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.100.0
|
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
|
@@ -33,36 +33,39 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
33
33
|
Classifier: Topic :: Utilities
|
34
34
|
Classifier: Typing :: Typed
|
35
35
|
Requires-Python: >=3.8
|
36
|
-
Requires-Dist: robotcode-core==0.
|
37
|
-
Requires-Dist: robotcode-plugin==0.
|
38
|
-
Requires-Dist: robotcode-robot==0.
|
36
|
+
Requires-Dist: robotcode-core==0.100.0
|
37
|
+
Requires-Dist: robotcode-plugin==0.100.0
|
38
|
+
Requires-Dist: robotcode-robot==0.100.0
|
39
39
|
Provides-Extra: all
|
40
40
|
Requires-Dist: docutils; extra == 'all'
|
41
41
|
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
42
42
|
Requires-Dist: rich; extra == 'all'
|
43
|
-
Requires-Dist: robotcode-analyze==0.
|
44
|
-
Requires-Dist: robotcode-debugger==0.
|
45
|
-
Requires-Dist: robotcode-language-server==0.
|
46
|
-
Requires-Dist: robotcode-repl==0.
|
47
|
-
Requires-Dist: robotcode-
|
43
|
+
Requires-Dist: robotcode-analyze==0.100.0; extra == 'all'
|
44
|
+
Requires-Dist: robotcode-debugger==0.100.0; extra == 'all'
|
45
|
+
Requires-Dist: robotcode-language-server==0.100.0; extra == 'all'
|
46
|
+
Requires-Dist: robotcode-repl-server==0.100.0; extra == 'all'
|
47
|
+
Requires-Dist: robotcode-repl==0.100.0; extra == 'all'
|
48
|
+
Requires-Dist: robotcode-runner==0.100.0; extra == 'all'
|
48
49
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
|
49
50
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
|
50
51
|
Provides-Extra: analyze
|
51
|
-
Requires-Dist: robotcode-analyze==0.
|
52
|
+
Requires-Dist: robotcode-analyze==0.100.0; extra == 'analyze'
|
52
53
|
Provides-Extra: colored
|
53
54
|
Requires-Dist: rich; extra == 'colored'
|
54
55
|
Provides-Extra: debugger
|
55
|
-
Requires-Dist: robotcode-debugger==0.
|
56
|
+
Requires-Dist: robotcode-debugger==0.100.0; extra == 'debugger'
|
56
57
|
Provides-Extra: languageserver
|
57
|
-
Requires-Dist: robotcode-language-server==0.
|
58
|
+
Requires-Dist: robotcode-language-server==0.100.0; extra == 'languageserver'
|
58
59
|
Provides-Extra: lint
|
59
60
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
60
61
|
Provides-Extra: repl
|
61
|
-
Requires-Dist: robotcode-repl==0.
|
62
|
+
Requires-Dist: robotcode-repl==0.100.0; extra == 'repl'
|
63
|
+
Provides-Extra: replserver
|
64
|
+
Requires-Dist: robotcode-repl-server==0.100.0; extra == 'replserver'
|
62
65
|
Provides-Extra: rest
|
63
66
|
Requires-Dist: docutils; extra == 'rest'
|
64
67
|
Provides-Extra: runner
|
65
|
-
Requires-Dist: robotcode-runner==0.
|
68
|
+
Requires-Dist: robotcode-runner==0.100.0; extra == 'runner'
|
66
69
|
Provides-Extra: tidy
|
67
70
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
68
71
|
Provides-Extra: yaml
|
@@ -0,0 +1,12 @@
|
|
1
|
+
robotcode/cli/__init__.py,sha256=zEodZQq94XygNMUJ26-CYMiiqHSpQO1GRPqaqKQcjX8,8763
|
2
|
+
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
+
robotcode/cli/__version__.py,sha256=hBw9-oaz7x5BBjFEByYUTbik88urWGwnI3lE91SfgJ8,24
|
4
|
+
robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
5
|
+
robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
|
6
|
+
robotcode/cli/commands/config.py,sha256=84gG4LrIynfPbEQkQDYA3ZClg50ck32NZyUvAWw9g6w,10479
|
7
|
+
robotcode/cli/commands/profiles.py,sha256=urgcIcDa6luObHrh7Qdz1UXpvs776Cq5UM9LbsJ8V8o,5899
|
8
|
+
robotcode-0.100.0.dist-info/METADATA,sha256=DnHpdy657aDimhCNPPkk5o5f5u5eLLPeO2Fh9ZpNToE,6955
|
9
|
+
robotcode-0.100.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
10
|
+
robotcode-0.100.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
+
robotcode-0.100.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
+
robotcode-0.100.0.dist-info/RECORD,,
|
@@ -1,12 +0,0 @@
|
|
1
|
-
robotcode/cli/__init__.py,sha256=aLAhtN5SqoV4WKT1qWDgZ6UDA4bpDtTgyAt6dfV_2ug,8575
|
2
|
-
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
-
robotcode/cli/__version__.py,sha256=wDatk6DOlwcbppXlUNCn5v8i6SpKrbGGBYEGlrqUork,23
|
4
|
-
robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
5
|
-
robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
|
6
|
-
robotcode/cli/commands/config.py,sha256=84gG4LrIynfPbEQkQDYA3ZClg50ck32NZyUvAWw9g6w,10479
|
7
|
-
robotcode/cli/commands/profiles.py,sha256=GAyNsnz4vvybkEfktFTjDm-L4zkcntXZtBt385U9oRo,5897
|
8
|
-
robotcode-0.98.0.dist-info/METADATA,sha256=sZJkca-EjtKBTAnQlocH0XoxPOsFtAfntjmhVrLRO6Y,6783
|
9
|
-
robotcode-0.98.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
10
|
-
robotcode-0.98.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
-
robotcode-0.98.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
-
robotcode-0.98.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|