robotcode 0.98.0__tar.gz → 0.100.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.
@@ -2,6 +2,50 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
4
4
 
5
+ ## [0.100.0](https://github.com/robotcodedev/robotcode/compare/v0.99.0..v0.100.0) - 2024-12-05
6
+
7
+ ### Bug Fixes
8
+
9
+ - **analyze:** Corrected statistics about analyzed files ([18b6cb8](https://github.com/robotcodedev/robotcode/commit/18b6cb878e893b32ce26b16c3de0c6e628367fde))
10
+ - **analyzer:** Correct handling of variables in embedded args in keyword calls ([2c8ed56](https://github.com/robotcodedev/robotcode/commit/2c8ed5662be1e8621d7d9c742275ccaf1809d06c))
11
+ - **config:** Corrected handling of relative items in python path and other variables if current folder is different then root folder of the project ([66a94bc](https://github.com/robotcodedev/robotcode/commit/66a94bc993a27d8fe5cec13813e524b1099509c6))
12
+ - **vscode:** Corrected highlightning of bold/italic in documentation tags ([170287d](https://github.com/robotcodedev/robotcode/commit/170287db04ec811e39b7ec5e7bd853ae9d98ec7c))
13
+
14
+
15
+ ### Documentation
16
+
17
+ - Update some docs ([639314b](https://github.com/robotcodedev/robotcode/commit/639314b9e526e7e3d5820631db0c7c777ac9d648))
18
+
19
+
20
+ ### Features
21
+
22
+ - **analyzer:** Add error codes `VariableNotReplaced` and `EnvironmentVariableNotReplaced` for variables not found/replaced in documentation, tags, and metadata ([c5f766f](https://github.com/robotcodedev/robotcode/commit/c5f766f036e49153f318e91ddefb68c975668669))
23
+ - **vscode:** Added some better file icons ([39fad12](https://github.com/robotcodedev/robotcode/commit/39fad12e6cc8d1246dc45c8e843fa1c3b046a491))
24
+ - **vscode:** Preview of Robot Framework Notebook support for VSCode ([9185ccd](https://github.com/robotcodedev/robotcode/commit/9185ccd84dbb9f2f5cd2aba4212598abd93ef0f1))
25
+
26
+
27
+ ## [0.99.0](https://github.com/robotcodedev/robotcode/compare/v0.98.0..v0.99.0) - 2024-11-20
28
+
29
+ ### Bug Fixes
30
+
31
+ - **analyzer:** Better recognition of circular imports ([a36dd41](https://github.com/robotcodedev/robotcode/commit/a36dd414c88f418e486979ae9fe988cafb97143c))
32
+
33
+
34
+ ### Features
35
+
36
+ - **analyze:** `analyze code` now return a flag that indicates if errors/warnings/etc. occurs ([5125f7d](https://github.com/robotcodedev/robotcode/commit/5125f7dca21daf18f21708ab0676d8707fbb2827))
37
+
38
+ - `0`: **SUCCESS** - No issues detected.
39
+ - `1`: **ERRORS** - Critical issues found.
40
+ - `2`: **WARNINGS** - Non-critical issues detected.
41
+ - `4`: **INFORMATIONS** - General information messages.
42
+ - `8`: **HINTS** - Suggestions or improvements.
43
+
44
+ A return code 1 means error and 3 means there are errors and warning and so on.
45
+
46
+ - **cli:** Add an astric (*) for options that can be used multiple times ([5bf5493](https://github.com/robotcodedev/robotcode/commit/5bf54936c2bfa12d92171d2fd9f9b55c86f9115f))
47
+
48
+
5
49
  ## [0.98.0](https://github.com/robotcodedev/robotcode/compare/v0.97.0..v0.98.0) - 2024-11-19
6
50
 
7
51
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode
3
- Version: 0.98.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.98.0
37
- Requires-Dist: robotcode-plugin==0.98.0
38
- Requires-Dist: robotcode-robot==0.98.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.98.0; extra == 'all'
44
- Requires-Dist: robotcode-debugger==0.98.0; extra == 'all'
45
- Requires-Dist: robotcode-language-server==0.98.0; extra == 'all'
46
- Requires-Dist: robotcode-repl==0.98.0; extra == 'all'
47
- Requires-Dist: robotcode-runner==0.98.0; extra == 'all'
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.98.0; extra == 'analyze'
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.98.0; extra == 'debugger'
56
+ Requires-Dist: robotcode-debugger==0.100.0; extra == 'debugger'
56
57
  Provides-Extra: languageserver
57
- Requires-Dist: robotcode-language-server==0.98.0; extra == 'languageserver'
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.98.0; extra == 'repl'
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.98.0; extra == 'runner'
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
@@ -13,7 +13,7 @@ only-include = ["src", "CHANGELOG.md"]
13
13
 
14
14
 
15
15
  [envs.default]
16
- installer = "uv"
16
+ #installer = "uv"
17
17
  dependencies = [
18
18
  "pytest",
19
19
  "pytest-html",
@@ -51,9 +51,9 @@ classifiers = [
51
51
  ]
52
52
  requires-python = ">=3.8"
53
53
  dependencies = [
54
- "robotcode-core==0.98.0",
55
- "robotcode-plugin==0.98.0",
56
- "robotcode-robot==0.98.0",
54
+ "robotcode-core==0.100.0",
55
+ "robotcode-plugin==0.100.0",
56
+ "robotcode-robot==0.100.0",
57
57
  ]
58
58
  dynamic = ["version"]
59
59
 
@@ -71,22 +71,24 @@ robotcode = "robotcode.cli.__main__:main"
71
71
 
72
72
 
73
73
  [project.optional-dependencies]
74
- debugger = ["robotcode-debugger==0.98.0"]
75
- languageserver = ["robotcode-language-server==0.98.0"]
76
- runner = ["robotcode-runner==0.98.0"]
77
- analyze = ["robotcode-analyze==0.98.0"]
74
+ debugger = ["robotcode-debugger==0.100.0"]
75
+ languageserver = ["robotcode-language-server==0.100.0"]
76
+ runner = ["robotcode-runner==0.100.0"]
77
+ analyze = ["robotcode-analyze==0.100.0"]
78
78
  yaml = ["PyYAML>=5.4"]
79
79
  lint = ["robotframework-robocop>=2.0.0"]
80
80
  tidy = ["robotframework-tidy>=2.0.0"]
81
81
  rest = ["docutils"]
82
- repl = ["robotcode-repl==0.98.0"]
82
+ repl = ["robotcode-repl==0.100.0"]
83
+ replserver = ["robotcode-repl-server==0.100.0"]
83
84
  colored = ["rich"]
84
85
  all = [
85
- "robotcode-debugger==0.98.0",
86
- "robotcode-language-server==0.98.0",
87
- "robotcode-runner==0.98.0",
88
- "robotcode-analyze==0.98.0",
89
- "robotcode-repl==0.98.0",
86
+ "robotcode-debugger==0.100.0",
87
+ "robotcode-language-server==0.100.0",
88
+ "robotcode-runner==0.100.0",
89
+ "robotcode-analyze==0.100.0",
90
+ "robotcode-repl==0.100.0",
91
+ "robotcode-repl-server==0.100.0",
90
92
  "PyYAML>=5.4",
91
93
  "robotframework-robocop>=2.0.0",
92
94
  "robotframework-tidy>=2.0.0",
@@ -262,6 +264,8 @@ mypy_path = [
262
264
  "packages/robot/src",
263
265
  "packages/runner/src",
264
266
  "packages/analyze/src",
267
+ "packages/repl/src",
268
+ "packages/repl_server/src",
265
269
  ]
266
270
  # allow_untyped_calls = true
267
271
 
@@ -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. Can be specified multiple times.
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. Can be specified multiple times.
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. Can be specified multiple times. "
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",
@@ -0,0 +1 @@
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 +0,0 @@
1
- __version__ = "0.98.0"
File without changes
File without changes
File without changes