robotcode 0.108.1__py3-none-any.whl → 0.109.1__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.
@@ -1 +1 @@
1
- __version__ = "0.108.1"
1
+ __version__ = "0.109.1"
@@ -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
- header = ""
132
- max_name = max(
133
- 0,
134
- len("Name"),
135
- *(len(profile["name"]) for profile in result["profiles"]),
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
- app.echo_as_markdown(header)
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.108.1
3
+ Version: 0.109.1
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.108.1
38
- Requires-Dist: robotcode-plugin==0.108.1
39
- Requires-Dist: robotcode-robot==0.108.1
37
+ Requires-Dist: robotcode-core==0.109.1
38
+ Requires-Dist: robotcode-plugin==0.109.1
39
+ Requires-Dist: robotcode-robot==0.109.1
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.108.1; extra == 'all'
45
- Requires-Dist: robotcode-debugger==0.108.1; extra == 'all'
46
- Requires-Dist: robotcode-language-server==0.108.1; extra == 'all'
47
- Requires-Dist: robotcode-repl-server==0.108.1; extra == 'all'
48
- Requires-Dist: robotcode-repl==0.108.1; extra == 'all'
49
- Requires-Dist: robotcode-runner==0.108.1; extra == 'all'
44
+ Requires-Dist: robotcode-analyze==0.109.1; extra == 'all'
45
+ Requires-Dist: robotcode-debugger==0.109.1; extra == 'all'
46
+ Requires-Dist: robotcode-language-server==0.109.1; extra == 'all'
47
+ Requires-Dist: robotcode-repl-server==0.109.1; extra == 'all'
48
+ Requires-Dist: robotcode-repl==0.109.1; extra == 'all'
49
+ Requires-Dist: robotcode-runner==0.109.1; 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.108.1; extra == 'analyze'
53
+ Requires-Dist: robotcode-analyze==0.109.1; 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.108.1; extra == 'debugger'
57
+ Requires-Dist: robotcode-debugger==0.109.1; extra == 'debugger'
58
58
  Provides-Extra: languageserver
59
- Requires-Dist: robotcode-language-server==0.108.1; extra == 'languageserver'
59
+ Requires-Dist: robotcode-language-server==0.109.1; 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.108.1; extra == 'repl'
63
+ Requires-Dist: robotcode-repl==0.109.1; extra == 'repl'
64
64
  Provides-Extra: replserver
65
- Requires-Dist: robotcode-repl-server==0.108.1; extra == 'replserver'
65
+ Requires-Dist: robotcode-repl-server==0.109.1; 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.108.1; extra == 'runner'
69
+ Requires-Dist: robotcode-runner==0.109.1; 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=IQQ_e541afAse9JmPaer7GeRfj6rNlMpvwjKwEOF2sg,24
3
+ robotcode/cli/__version__.py,sha256=EVRSUXHso4imy8mYqaGgiBlmGA26ZZa4pY62kcDERyc,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=urgcIcDa6luObHrh7Qdz1UXpvs776Cq5UM9LbsJ8V8o,5899
8
- robotcode-0.108.1.dist-info/METADATA,sha256=r2CR5VmPELXR0jkIvyJuX5_za9OBMGxsg63mkGX1r4A,11825
9
- robotcode-0.108.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- robotcode-0.108.1.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
- robotcode-0.108.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
- robotcode-0.108.1.dist-info/RECORD,,
7
+ robotcode/cli/commands/profiles.py,sha256=MQHQTRv8n5MZi1glZmpB6REF1Knhi68y6IkzmczTHXQ,6127
8
+ robotcode-0.109.1.dist-info/METADATA,sha256=_cFqfHQ4TPcSk5LAPBzd8BgFRgyroks36DBU2-1j2mE,11825
9
+ robotcode-0.109.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ robotcode-0.109.1.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
+ robotcode-0.109.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
+ robotcode-0.109.1.dist-info/RECORD,,