robotcode 0.108.1__py3-none-any.whl → 0.109.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/__version__.py +1 -1
- robotcode/cli/commands/profiles.py +32 -28
- {robotcode-0.108.1.dist-info → robotcode-0.109.0.dist-info}/METADATA +16 -16
- {robotcode-0.108.1.dist-info → robotcode-0.109.0.dist-info}/RECORD +7 -7
- {robotcode-0.108.1.dist-info → robotcode-0.109.0.dist-info}/WHEEL +0 -0
- {robotcode-0.108.1.dist-info → robotcode-0.109.0.dist-info}/entry_points.txt +0 -0
- {robotcode-0.108.1.dist-info → robotcode-0.109.0.dist-info}/licenses/LICENSE.txt +0 -0
robotcode/cli/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.109.0"
|
@@ -128,35 +128,39 @@ def list(app: Application, paths: List[Path], show_hidden: bool = False, sort_by
|
|
128
128
|
lines = v[k].splitlines()
|
129
129
|
v[k] = " ".join(lines[:1]) + (" ..." if len(lines) > 1 else "")
|
130
130
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
max_description = max(
|
138
|
-
0,
|
139
|
-
len("Description"),
|
140
|
-
*(len(profile["description"]) for profile in result["profiles"]),
|
141
|
-
)
|
142
|
-
header += (
|
143
|
-
f'| Active | Selected | Enabled | Precedence | Name{(max_name - len("Name")) * " "} '
|
144
|
-
f'| Description{(max_description - len("Description")) * " "} |\n'
|
145
|
-
)
|
146
|
-
header += f"|:------:|:------:|:--------:|:-------:|:{max_name * '-'}-|:{max_description * '-'}-|\n"
|
147
|
-
for selected_profiles, enabled, name, description, precedence in (
|
148
|
-
(v["selected"], v["enabled"], v["name"], v["description"], v["precedence"]) for v in result["profiles"]
|
149
|
-
):
|
150
|
-
header += (
|
151
|
-
f'| {"*" if selected_profiles and enabled else " "} '
|
152
|
-
f'| {"*" if selected_profiles else " "} '
|
153
|
-
f'| {"*" if enabled else " "} '
|
154
|
-
f'| {precedence if precedence else " "} '
|
155
|
-
f'| {name}{(max_name - len(name)) * " "} '
|
156
|
-
f'| {description if description else ""}{(max_description - len(description)) * " "} |\n'
|
131
|
+
output = ""
|
132
|
+
if result["profiles"]:
|
133
|
+
max_name = max(
|
134
|
+
0,
|
135
|
+
len("Name"),
|
136
|
+
*(len(profile["name"]) for profile in result["profiles"]),
|
157
137
|
)
|
158
|
-
|
159
|
-
|
138
|
+
max_description = max(
|
139
|
+
0,
|
140
|
+
len("Description"),
|
141
|
+
*(len(profile["description"]) for profile in result["profiles"]),
|
142
|
+
)
|
143
|
+
output += (
|
144
|
+
f'| Active | Selected | Enabled | Precedence | Name{(max_name - len("Name")) * " "} '
|
145
|
+
f'| Description{(max_description - len("Description")) * " "} |\n'
|
146
|
+
)
|
147
|
+
output += f"|:------:|:------:|:--------:|:-------:|:{max_name * '-'}-|:{max_description * '-'}-|\n"
|
148
|
+
for selected_profiles, enabled, name, description, precedence in (
|
149
|
+
(v["selected"], v["enabled"], v["name"], v["description"], v["precedence"])
|
150
|
+
for v in result["profiles"]
|
151
|
+
):
|
152
|
+
output += (
|
153
|
+
f'| {"*" if selected_profiles and enabled else " "} '
|
154
|
+
f'| {"*" if selected_profiles else " "} '
|
155
|
+
f'| {"*" if enabled else " "} '
|
156
|
+
f'| {precedence if precedence else " "} '
|
157
|
+
f'| {name}{(max_name - len(name)) * " "} '
|
158
|
+
f'| {description if description else ""}{(max_description - len(description)) * " "} |\n'
|
159
|
+
)
|
160
|
+
else:
|
161
|
+
output += "No profiles defined.\n"
|
162
|
+
|
163
|
+
app.echo_as_markdown(output)
|
160
164
|
else:
|
161
165
|
app.print_data(result)
|
162
166
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: robotcode
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.109.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
|
@@ -34,39 +34,39 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
34
34
|
Classifier: Topic :: Utilities
|
35
35
|
Classifier: Typing :: Typed
|
36
36
|
Requires-Python: >=3.8
|
37
|
-
Requires-Dist: robotcode-core==0.
|
38
|
-
Requires-Dist: robotcode-plugin==0.
|
39
|
-
Requires-Dist: robotcode-robot==0.
|
37
|
+
Requires-Dist: robotcode-core==0.109.0
|
38
|
+
Requires-Dist: robotcode-plugin==0.109.0
|
39
|
+
Requires-Dist: robotcode-robot==0.109.0
|
40
40
|
Provides-Extra: all
|
41
41
|
Requires-Dist: docutils; extra == 'all'
|
42
42
|
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
43
43
|
Requires-Dist: rich; extra == 'all'
|
44
|
-
Requires-Dist: robotcode-analyze==0.
|
45
|
-
Requires-Dist: robotcode-debugger==0.
|
46
|
-
Requires-Dist: robotcode-language-server==0.
|
47
|
-
Requires-Dist: robotcode-repl-server==0.
|
48
|
-
Requires-Dist: robotcode-repl==0.
|
49
|
-
Requires-Dist: robotcode-runner==0.
|
44
|
+
Requires-Dist: robotcode-analyze==0.109.0; extra == 'all'
|
45
|
+
Requires-Dist: robotcode-debugger==0.109.0; extra == 'all'
|
46
|
+
Requires-Dist: robotcode-language-server==0.109.0; extra == 'all'
|
47
|
+
Requires-Dist: robotcode-repl-server==0.109.0; extra == 'all'
|
48
|
+
Requires-Dist: robotcode-repl==0.109.0; extra == 'all'
|
49
|
+
Requires-Dist: robotcode-runner==0.109.0; extra == 'all'
|
50
50
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
|
51
51
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
|
52
52
|
Provides-Extra: analyze
|
53
|
-
Requires-Dist: robotcode-analyze==0.
|
53
|
+
Requires-Dist: robotcode-analyze==0.109.0; extra == 'analyze'
|
54
54
|
Provides-Extra: colored
|
55
55
|
Requires-Dist: rich; extra == 'colored'
|
56
56
|
Provides-Extra: debugger
|
57
|
-
Requires-Dist: robotcode-debugger==0.
|
57
|
+
Requires-Dist: robotcode-debugger==0.109.0; extra == 'debugger'
|
58
58
|
Provides-Extra: languageserver
|
59
|
-
Requires-Dist: robotcode-language-server==0.
|
59
|
+
Requires-Dist: robotcode-language-server==0.109.0; extra == 'languageserver'
|
60
60
|
Provides-Extra: lint
|
61
61
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
62
62
|
Provides-Extra: repl
|
63
|
-
Requires-Dist: robotcode-repl==0.
|
63
|
+
Requires-Dist: robotcode-repl==0.109.0; extra == 'repl'
|
64
64
|
Provides-Extra: replserver
|
65
|
-
Requires-Dist: robotcode-repl-server==0.
|
65
|
+
Requires-Dist: robotcode-repl-server==0.109.0; extra == 'replserver'
|
66
66
|
Provides-Extra: rest
|
67
67
|
Requires-Dist: docutils; extra == 'rest'
|
68
68
|
Provides-Extra: runner
|
69
|
-
Requires-Dist: robotcode-runner==0.
|
69
|
+
Requires-Dist: robotcode-runner==0.109.0; extra == 'runner'
|
70
70
|
Provides-Extra: tidy
|
71
71
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
72
72
|
Provides-Extra: yaml
|
@@ -1,12 +1,12 @@
|
|
1
1
|
robotcode/cli/__init__.py,sha256=zEodZQq94XygNMUJ26-CYMiiqHSpQO1GRPqaqKQcjX8,8763
|
2
2
|
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
-
robotcode/cli/__version__.py,sha256=
|
3
|
+
robotcode/cli/__version__.py,sha256=To2Wkjt2rR7FNc5nbafXdKVV4Iy6AR0OLu5SmjOkGxs,24
|
4
4
|
robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
5
5
|
robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
|
6
6
|
robotcode/cli/commands/config.py,sha256=84gG4LrIynfPbEQkQDYA3ZClg50ck32NZyUvAWw9g6w,10479
|
7
|
-
robotcode/cli/commands/profiles.py,sha256=
|
8
|
-
robotcode-0.
|
9
|
-
robotcode-0.
|
10
|
-
robotcode-0.
|
11
|
-
robotcode-0.
|
12
|
-
robotcode-0.
|
7
|
+
robotcode/cli/commands/profiles.py,sha256=MQHQTRv8n5MZi1glZmpB6REF1Knhi68y6IkzmczTHXQ,6127
|
8
|
+
robotcode-0.109.0.dist-info/METADATA,sha256=ab0p3ejg644OR6xTeKj-Rdw-d8OFe_hAcc1QSnKf6gI,11825
|
9
|
+
robotcode-0.109.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
robotcode-0.109.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
+
robotcode-0.109.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
+
robotcode-0.109.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|