robotcode 0.97.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.
- {robotcode-0.97.0 → robotcode-0.99.0}/CHANGELOG.md +39 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/PKG-INFO +14 -14
- {robotcode-0.97.0 → robotcode-0.99.0}/pyproject.toml +13 -13
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/__init__.py +18 -7
- robotcode-0.99.0/src/robotcode/cli/__version__.py +1 -0
- robotcode-0.97.0/src/robotcode/cli/__version__.py +0 -1
- {robotcode-0.97.0 → robotcode-0.99.0}/.gitignore +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/LICENSE.txt +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/README.md +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/hatch.toml +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/__main__.py +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/commands/__init__.py +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/commands/config.py +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/commands/profiles.py +0 -0
- {robotcode-0.97.0 → robotcode-0.99.0}/src/robotcode/cli/py.typed +0 -0
@@ -2,6 +2,45 @@
|
|
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
|
+
|
27
|
+
## [0.98.0](https://github.com/robotcodedev/robotcode/compare/v0.97.0..v0.98.0) - 2024-11-19
|
28
|
+
|
29
|
+
### Bug Fixes
|
30
|
+
|
31
|
+
- **analyze:** Corrected checking if a resource is already imported ([b5a76b3](https://github.com/robotcodedev/robotcode/commit/b5a76b37937f57c30209f7fb03f298bcd0588c70))
|
32
|
+
- **analyze:** Corrected importing resources with identical relative names but different base paths ([5792ac7](https://github.com/robotcodedev/robotcode/commit/5792ac764a164279db2048c6667e135a73d65444))
|
33
|
+
|
34
|
+
|
35
|
+
### Features
|
36
|
+
|
37
|
+
- **analyzer:** Added command line options for diagnostics modifiers to `code` command ([0a29800](https://github.com/robotcodedev/robotcode/commit/0a29800b53ca53fb49999053be3cb58b8a1df629))
|
38
|
+
- **repl:** Rework repl a little bit and add some new command line options ([610b1f3](https://github.com/robotcodedev/robotcode/commit/610b1f3482ed37b87e2df8058ea4ab1a05f96cd1))
|
39
|
+
|
40
|
+
see documentation
|
41
|
+
|
42
|
+
|
43
|
+
|
5
44
|
## [0.97.0](https://github.com/robotcodedev/robotcode/compare/v0.96.0..v0.97.0) - 2024-11-13
|
6
45
|
|
7
46
|
### Bug Fixes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: robotcode
|
3
|
-
Version: 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.
|
37
|
-
Requires-Dist: robotcode-plugin==0.
|
38
|
-
Requires-Dist: robotcode-robot==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.
|
44
|
-
Requires-Dist: robotcode-debugger==0.
|
45
|
-
Requires-Dist: robotcode-language-server==0.
|
46
|
-
Requires-Dist: robotcode-repl==0.
|
47
|
-
Requires-Dist: robotcode-runner==0.
|
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.
|
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.
|
55
|
+
Requires-Dist: robotcode-debugger==0.99.0; extra == 'debugger'
|
56
56
|
Provides-Extra: languageserver
|
57
|
-
Requires-Dist: robotcode-language-server==0.
|
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.
|
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.
|
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.
|
55
|
-
"robotcode-plugin==0.
|
56
|
-
"robotcode-robot==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.
|
75
|
-
languageserver = ["robotcode-language-server==0.
|
76
|
-
runner = ["robotcode-runner==0.
|
77
|
-
analyze = ["robotcode-analyze==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.
|
82
|
+
repl = ["robotcode-repl==0.99.0"]
|
83
83
|
colored = ["rich"]
|
84
84
|
all = [
|
85
|
-
"robotcode-debugger==0.
|
86
|
-
"robotcode-language-server==0.
|
87
|
-
"robotcode-runner==0.
|
88
|
-
"robotcode-analyze==0.
|
89
|
-
"robotcode-repl==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.
|
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.
|
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.
|
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.97.0"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|