robotcode 0.98.0__tar.gz → 0.99.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,28 @@
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.99.0](https://github.com/robotcodedev/robotcode/compare/v0.98.0..v0.99.0) - 2024-11-20
6
+
7
+ ### Bug Fixes
8
+
9
+ - **analyzer:** Better recognition of circular imports ([a36dd41](https://github.com/robotcodedev/robotcode/commit/a36dd414c88f418e486979ae9fe988cafb97143c))
10
+
11
+
12
+ ### Features
13
+
14
+ - **analyze:** `analyze code` now return a flag that indicates if errors/warnings/etc. occurs ([5125f7d](https://github.com/robotcodedev/robotcode/commit/5125f7dca21daf18f21708ab0676d8707fbb2827))
15
+
16
+ - `0`: **SUCCESS** - No issues detected.
17
+ - `1`: **ERRORS** - Critical issues found.
18
+ - `2`: **WARNINGS** - Non-critical issues detected.
19
+ - `4`: **INFORMATIONS** - General information messages.
20
+ - `8`: **HINTS** - Suggestions or improvements.
21
+
22
+ A return code 1 means error and 3 means there are errors and warning and so on.
23
+
24
+ - **cli:** Add an astric (*) for options that can be used multiple times ([5bf5493](https://github.com/robotcodedev/robotcode/commit/5bf54936c2bfa12d92171d2fd9f9b55c86f9115f))
25
+
26
+
5
27
  ## [0.98.0](https://github.com/robotcodedev/robotcode/compare/v0.97.0..v0.98.0) - 2024-11-19
6
28
 
7
29
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode
3
- Version: 0.98.0
3
+ Version: 0.99.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,36 @@ 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.99.0
37
+ Requires-Dist: robotcode-plugin==0.99.0
38
+ Requires-Dist: robotcode-robot==0.99.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.99.0; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==0.99.0; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==0.99.0; extra == 'all'
46
+ Requires-Dist: robotcode-repl==0.99.0; extra == 'all'
47
+ Requires-Dist: robotcode-runner==0.99.0; extra == 'all'
48
48
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
49
49
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
50
50
  Provides-Extra: analyze
51
- Requires-Dist: robotcode-analyze==0.98.0; extra == 'analyze'
51
+ Requires-Dist: robotcode-analyze==0.99.0; extra == 'analyze'
52
52
  Provides-Extra: colored
53
53
  Requires-Dist: rich; extra == 'colored'
54
54
  Provides-Extra: debugger
55
- Requires-Dist: robotcode-debugger==0.98.0; extra == 'debugger'
55
+ Requires-Dist: robotcode-debugger==0.99.0; extra == 'debugger'
56
56
  Provides-Extra: languageserver
57
- Requires-Dist: robotcode-language-server==0.98.0; extra == 'languageserver'
57
+ Requires-Dist: robotcode-language-server==0.99.0; extra == 'languageserver'
58
58
  Provides-Extra: lint
59
59
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
60
60
  Provides-Extra: repl
61
- Requires-Dist: robotcode-repl==0.98.0; extra == 'repl'
61
+ Requires-Dist: robotcode-repl==0.99.0; extra == 'repl'
62
62
  Provides-Extra: rest
63
63
  Requires-Dist: docutils; extra == 'rest'
64
64
  Provides-Extra: runner
65
- Requires-Dist: robotcode-runner==0.98.0; extra == 'runner'
65
+ Requires-Dist: robotcode-runner==0.99.0; extra == 'runner'
66
66
  Provides-Extra: tidy
67
67
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
68
68
  Provides-Extra: yaml
@@ -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.99.0",
55
+ "robotcode-plugin==0.99.0",
56
+ "robotcode-robot==0.99.0",
57
57
  ]
58
58
  dynamic = ["version"]
59
59
 
@@ -71,22 +71,22 @@ 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.99.0"]
75
+ languageserver = ["robotcode-language-server==0.99.0"]
76
+ runner = ["robotcode-runner==0.99.0"]
77
+ analyze = ["robotcode-analyze==0.99.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.99.0"]
83
83
  colored = ["rich"]
84
84
  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",
85
+ "robotcode-debugger==0.99.0",
86
+ "robotcode-language-server==0.99.0",
87
+ "robotcode-runner==0.99.0",
88
+ "robotcode-analyze==0.99.0",
89
+ "robotcode-repl==0.99.0",
90
90
  "PyYAML>=5.4",
91
91
  "robotframework-robocop>=2.0.0",
92
92
  "robotframework-tidy>=2.0.0",
@@ -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.99.0"
@@ -1 +0,0 @@
1
- __version__ = "0.98.0"
File without changes
File without changes
File without changes
File without changes