robotcode 0.58.0__py3-none-any.whl → 0.60.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/config.py +14 -3
- robotcode/cli/commands/profiles.py +3 -3
- {robotcode-0.58.0.dist-info → robotcode-0.60.0.dist-info}/METADATA +10 -10
- robotcode-0.60.0.dist-info/RECORD +12 -0
- robotcode-0.58.0.dist-info/RECORD +0 -12
- {robotcode-0.58.0.dist-info → robotcode-0.60.0.dist-info}/WHEEL +0 -0
- {robotcode-0.58.0.dist-info → robotcode-0.60.0.dist-info}/entry_points.txt +0 -0
- {robotcode-0.58.0.dist-info → robotcode-0.60.0.dist-info}/licenses/LICENSE.txt +0 -0
robotcode/cli/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.60.0"
|
robotcode/cli/commands/config.py
CHANGED
@@ -7,10 +7,11 @@ from typing import Any, Dict, List, Optional
|
|
7
7
|
import click
|
8
8
|
from robotcode.core.dataclasses import encode_case
|
9
9
|
from robotcode.plugin import Application, OutputFormat, UnknownError, pass_application
|
10
|
+
from robotcode.plugin.manager import PluginManager
|
10
11
|
from robotcode.robot.config.loader import (
|
11
12
|
DiscoverdBy,
|
12
13
|
find_project_root,
|
13
|
-
|
14
|
+
load_robot_config_from_path,
|
14
15
|
)
|
15
16
|
from robotcode.robot.config.model import LibDocProfile, RebotProfile, RobotConfig, RobotProfile, TestDocProfile
|
16
17
|
from robotcode.robot.config.utils import get_config_files
|
@@ -55,13 +56,13 @@ def show(
|
|
55
56
|
|
56
57
|
if single:
|
57
58
|
for file, _ in config_files:
|
58
|
-
config =
|
59
|
+
config = load_robot_config_from_path(file)
|
59
60
|
click.secho(f"File: {file}")
|
60
61
|
app.print_data(config, remove_defaults=True, default_output_format=OutputFormat.TOML)
|
61
62
|
|
62
63
|
return
|
63
64
|
|
64
|
-
config =
|
65
|
+
config = load_robot_config_from_path(*config_files)
|
65
66
|
|
66
67
|
app.print_data(config, remove_defaults=True, default_output_format=OutputFormat.TOML)
|
67
68
|
|
@@ -202,6 +203,16 @@ def get_config_fields() -> Dict[str, Dict[str, str]]:
|
|
202
203
|
"description": field.metadata.get("description", "").strip(),
|
203
204
|
}
|
204
205
|
|
206
|
+
for entry in PluginManager().config_classes:
|
207
|
+
for s, cls in entry:
|
208
|
+
if dataclasses.is_dataclass(cls):
|
209
|
+
for field in dataclasses.fields(cls):
|
210
|
+
field_name_encoded = encode_case(TestDocProfile, field)
|
211
|
+
result[f"{s}." + field_name_encoded] = {
|
212
|
+
"type": str(field.type),
|
213
|
+
"description": field.metadata.get("description", "").strip(),
|
214
|
+
}
|
215
|
+
|
205
216
|
return {k: v for k, v in sorted(result.items(), key=lambda item: item[0])}
|
206
217
|
|
207
218
|
|
@@ -5,7 +5,7 @@ import click
|
|
5
5
|
from robotcode.plugin import Application, OutputFormat, UnknownError, pass_application
|
6
6
|
from robotcode.robot.config.loader import (
|
7
7
|
DiscoverdBy,
|
8
|
-
|
8
|
+
load_robot_config_from_path,
|
9
9
|
)
|
10
10
|
from robotcode.robot.config.utils import get_config_files
|
11
11
|
|
@@ -32,7 +32,7 @@ def show(
|
|
32
32
|
try:
|
33
33
|
config_files, _, _ = get_config_files(paths, app.config.config_files, verbose_callback=app.verbose)
|
34
34
|
|
35
|
-
config =
|
35
|
+
config = load_robot_config_from_path(*config_files).combine_profiles(
|
36
36
|
*(app.config.profiles or []), verbose_callback=app.verbose
|
37
37
|
)
|
38
38
|
|
@@ -61,7 +61,7 @@ def list(
|
|
61
61
|
verbose_callback=app.verbose,
|
62
62
|
)
|
63
63
|
|
64
|
-
config =
|
64
|
+
config = load_robot_config_from_path(*config_files)
|
65
65
|
selected_profiles = [
|
66
66
|
k for k in config.select_profiles(*(app.config.profiles or []), verbose_callback=app.verbose).keys()
|
67
67
|
]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: robotcode
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.60.0
|
4
4
|
Summary: Language server, debugger and tools for Robot Framework
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
6
6
|
Project-URL: Donate, https://github.com/sponsors/d-biehl
|
@@ -33,31 +33,31 @@ 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-plugin==0.
|
36
|
+
Requires-Dist: robotcode-plugin==0.60.0
|
37
37
|
Provides-Extra: all
|
38
38
|
Requires-Dist: docutils; extra == 'all'
|
39
39
|
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
40
40
|
Requires-Dist: rich; extra == 'all'
|
41
|
-
Requires-Dist: robotcode-analyze==0.
|
42
|
-
Requires-Dist: robotcode-debugger==0.
|
43
|
-
Requires-Dist: robotcode-language-server==0.
|
44
|
-
Requires-Dist: robotcode-runner==0.
|
41
|
+
Requires-Dist: robotcode-analyze==0.60.0; extra == 'all'
|
42
|
+
Requires-Dist: robotcode-debugger==0.60.0; extra == 'all'
|
43
|
+
Requires-Dist: robotcode-language-server==0.60.0; extra == 'all'
|
44
|
+
Requires-Dist: robotcode-runner==0.60.0; extra == 'all'
|
45
45
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
|
46
46
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
|
47
47
|
Provides-Extra: analyze
|
48
|
-
Requires-Dist: robotcode-analyze==0.
|
48
|
+
Requires-Dist: robotcode-analyze==0.60.0; extra == 'analyze'
|
49
49
|
Provides-Extra: colored
|
50
50
|
Requires-Dist: rich; extra == 'colored'
|
51
51
|
Provides-Extra: debugger
|
52
|
-
Requires-Dist: robotcode-debugger==0.
|
52
|
+
Requires-Dist: robotcode-debugger==0.60.0; extra == 'debugger'
|
53
53
|
Provides-Extra: languageserver
|
54
|
-
Requires-Dist: robotcode-language-server==0.
|
54
|
+
Requires-Dist: robotcode-language-server==0.60.0; extra == 'languageserver'
|
55
55
|
Provides-Extra: lint
|
56
56
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
57
57
|
Provides-Extra: rest
|
58
58
|
Requires-Dist: docutils; extra == 'rest'
|
59
59
|
Provides-Extra: runner
|
60
|
-
Requires-Dist: robotcode-runner==0.
|
60
|
+
Requires-Dist: robotcode-runner==0.60.0; extra == 'runner'
|
61
61
|
Provides-Extra: tidy
|
62
62
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
63
63
|
Provides-Extra: yaml
|
@@ -0,0 +1,12 @@
|
|
1
|
+
robotcode/cli/__init__.py,sha256=50H2dt1h0UHImCt-krb8z4jJfVCxUkblE3faIj7w86U,6465
|
2
|
+
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
+
robotcode/cli/__version__.py,sha256=XCDU0PzRSGNchH5cFRqniZdytnPgXmacSgzeC0BxXiI,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=xc4L64mDbTAgmg-vePjBw5mUBtBVUz-_DZOCITJywAk,9609
|
7
|
+
robotcode/cli/commands/profiles.py,sha256=SQShv9xuPArc7OprkehC2oyV6Vt2YJY7tILxFJNrC8A,3086
|
8
|
+
robotcode-0.60.0.dist-info/METADATA,sha256=7rq8cJtH0vfsFkZ6ReISNZqUOfwultHalpmi7fKNj3I,13089
|
9
|
+
robotcode-0.60.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
|
10
|
+
robotcode-0.60.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
+
robotcode-0.60.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
+
robotcode-0.60.0.dist-info/RECORD,,
|
@@ -1,12 +0,0 @@
|
|
1
|
-
robotcode/cli/__init__.py,sha256=50H2dt1h0UHImCt-krb8z4jJfVCxUkblE3faIj7w86U,6465
|
2
|
-
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
-
robotcode/cli/__version__.py,sha256=oIkJTCdzxBkcFHWQdIvMrmJih4tpnF1BnfoNPd1mB48,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=UPXQhpU0mFb5nJFC6_UvZcrsG8mp4vqPRyhgVWOU7Rg,9067
|
7
|
-
robotcode/cli/commands/profiles.py,sha256=Hk4zKf_y8mo3GDF6E2ypg_OlXm1RNOGAw--a3HvcQ0Q,3068
|
8
|
-
robotcode-0.58.0.dist-info/METADATA,sha256=9v_RKMui6QUz37kAS7eqZv80qt3dXXr6OBeO2IpbSk8,13089
|
9
|
-
robotcode-0.58.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
|
10
|
-
robotcode-0.58.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
-
robotcode-0.58.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
-
robotcode-0.58.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|