robotcode 0.93.1__tar.gz → 0.95.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.93.1 → robotcode-0.95.0}/CHANGELOG.md +72 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/PKG-INFO +15 -14
- {robotcode-0.93.1 → robotcode-0.95.0}/hatch.toml +1 -1
- {robotcode-0.93.1 → robotcode-0.95.0}/pyproject.toml +14 -13
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/__init__.py +14 -2
- robotcode-0.95.0/src/robotcode/cli/__version__.py +1 -0
- robotcode-0.93.1/src/robotcode/cli/__version__.py +0 -1
- {robotcode-0.93.1 → robotcode-0.95.0}/.gitignore +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/LICENSE.txt +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/README.md +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/__main__.py +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/commands/__init__.py +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/commands/config.py +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/commands/profiles.py +0 -0
- {robotcode-0.93.1 → robotcode-0.95.0}/src/robotcode/cli/py.typed +0 -0
@@ -2,6 +2,78 @@
|
|
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.95.0](https://github.com/robotcodedev/robotcode/compare/v0.94.0..v0.95.0) - 2024-10-25
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- **analyzer:** Fix some spellings ([b622c42](https://github.com/robotcodedev/robotcode/commit/b622c42d33bc0a41fab8ffa00cdc74cbb7fe98c8))
|
10
|
+
- **analyzer:** Handle bdd prefixes correctly if keyword is cached ([41ff53f](https://github.com/robotcodedev/robotcode/commit/41ff53f9b3c8cc34f06f34ebeaa7c63691544cb2))
|
11
|
+
- **analyzer:** Corrected analyzing of `[Return]`, `[Setup]`, `[Teardown]` statement ([4e17c8f](https://github.com/robotcodedev/robotcode/commit/4e17c8fc10814f62799548467efac25c07fbe429))
|
12
|
+
- **analyzer:** Corrected exception in parsing ForHeaders with invalid variable ([0851d4f](https://github.com/robotcodedev/robotcode/commit/0851d4f6eb7bd90958996cc9c25506712885dca9))
|
13
|
+
- **analyzer:** Fixed find variables as modules for RF > 5 ([ce787b2](https://github.com/robotcodedev/robotcode/commit/ce787b26d6fab981e432166972429aa2d0d84240))
|
14
|
+
- **langserver:** Corrected inlay hints for bdd style keyword calls ([77ce8f1](https://github.com/robotcodedev/robotcode/commit/77ce8f1147a4355ea71986408971fca4f441bee5))
|
15
|
+
- **langserver:** Only update direct references to a file, not imports if something changes ([ea24b06](https://github.com/robotcodedev/robotcode/commit/ea24b061c77de38e1f755a74979d2632970ff032))
|
16
|
+
|
17
|
+
|
18
|
+
### Features
|
19
|
+
|
20
|
+
- **analyzer:** Implemented better handling of imports of dynamic libraries ([f6b5b87](https://github.com/robotcodedev/robotcode/commit/f6b5b875daf7cd8d59d0cc46ea24a4d07b02c777))
|
21
|
+
|
22
|
+
- show also errors on in dynamic library API like in `get_keyword_documentation` and `get_keyword_arguments`
|
23
|
+
|
24
|
+
- **discover:** Rework discover commands ([87e1dd9](https://github.com/robotcodedev/robotcode/commit/87e1dd96c525c9639b2727681bac22cc4c3ca8cc))
|
25
|
+
|
26
|
+
- show statistics on all commands
|
27
|
+
- better differention of tests and tasks
|
28
|
+
- new command `tasks` to show only the tasks
|
29
|
+
- command tests show only the tests
|
30
|
+
- new arguments for `tags` command `--tests` and `--tags`
|
31
|
+
- show the type of test or task in test explorer description
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
### Performance
|
36
|
+
|
37
|
+
- **analyzer:** Restructured code for handling bdd prefixes ([96fbe90](https://github.com/robotcodedev/robotcode/commit/96fbe9064fafe0a64f82b0d95b017726d18381fb))
|
38
|
+
- **analyzer:** Optimized analysing keyword calls ([b1f0f28](https://github.com/robotcodedev/robotcode/commit/b1f0f28dfd0c7f38904ae9ecd0c247f5efec2ab1))
|
39
|
+
- **analyzer:** Cache embedded arguments and some more little perf tweaks ([3603ff6](https://github.com/robotcodedev/robotcode/commit/3603ff6395d16473fdeb1fca8de910ea3aab8de2))
|
40
|
+
- **analyzer:** Introduced some caching for parsing variables ([e39afe9](https://github.com/robotcodedev/robotcode/commit/e39afe92ef9dfd44d33537b4dec9bbec3738d116))
|
41
|
+
- **analyzer:** Implemented DataCache, cache files are now saved in pickle format by default instead of json ([f3ecc22](https://github.com/robotcodedev/robotcode/commit/f3ecc221d0018f9264c958074a7458a6e119b1f6))
|
42
|
+
|
43
|
+
|
44
|
+
## [0.94.0](https://github.com/robotcodedev/robotcode/compare/v0.93.1..v0.94.0) - 2024-10-20
|
45
|
+
|
46
|
+
### Bug Fixes
|
47
|
+
|
48
|
+
- **analyzer:** Better exception message for invalid command variable files ([f8cb770](https://github.com/robotcodedev/robotcode/commit/f8cb770e68815719d6c70404325c8e7e75956fd6))
|
49
|
+
- **analyzer:** Decrease load load library timeout and better error messages if time out occurs ([a3fb4a3](https://github.com/robotcodedev/robotcode/commit/a3fb4a3f6011b6d74cc5d9970b5faa1d7a090b1a))
|
50
|
+
- **docs:** Corrected some things about the inheritance of profiles ([aa50cc7](https://github.com/robotcodedev/robotcode/commit/aa50cc74173671b629ebd2c8c7adbddc5f5ce77d))
|
51
|
+
- **repl:** Corrected start of repl command if there is no `robot.toml` with a `path` setting ([42f96b4](https://github.com/robotcodedev/robotcode/commit/42f96b4fe42e75c52f58734c1767cd7d39307e06))
|
52
|
+
- Correct analyzing of variables in WhileHeader options ([3a4ee79](https://github.com/robotcodedev/robotcode/commit/3a4ee79651c0d8ba650113e953abee52866f4338))
|
53
|
+
|
54
|
+
|
55
|
+
### Features
|
56
|
+
|
57
|
+
- Python 3.13 support ([3874a9c](https://github.com/robotcodedev/robotcode/commit/3874a9cee3116794f510f79c1aa28586ce7b7d06))
|
58
|
+
|
59
|
+
|
60
|
+
### Performance
|
61
|
+
|
62
|
+
- **analyze:** Improved performance of code analysis (more then 2x faster) ([2951759](https://github.com/robotcodedev/robotcode/commit/29517592ee6a09d6e36cb89dae81aa6b5669709e))
|
63
|
+
- **analyze:** Optimize find unused refences (1.5x-2x faster) ([fda1f02](https://github.com/robotcodedev/robotcode/commit/fda1f029a1c9e18b9334ade8ea338e47a953cd30))
|
64
|
+
- **analyzer:** Move model and token analyzing to the normal analysing stage ([7b3eb0c](https://github.com/robotcodedev/robotcode/commit/7b3eb0cafc5e3843827f3ef5e89b2c75bd986ab4))
|
65
|
+
|
66
|
+
|
67
|
+
### Refactor
|
68
|
+
|
69
|
+
- **analyze:** Remove unused/unneeded call to find variable in namespace ([b561607](https://github.com/robotcodedev/robotcode/commit/b5616072372bfe08bd6bcc9c08188ae867aa4a35))
|
70
|
+
|
71
|
+
|
72
|
+
### Testing
|
73
|
+
|
74
|
+
- Update tests for RF 7.1.1 ([702c5c9](https://github.com/robotcodedev/robotcode/commit/702c5c9a666f7ab2ae560f6e2c0c0393ece60dc3))
|
75
|
+
|
76
|
+
|
5
77
|
## [0.93.1](https://github.com/robotcodedev/robotcode/compare/v0.93.0..v0.93.1) - 2024-10-09
|
6
78
|
|
7
79
|
### Bug Fixes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: robotcode
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.95.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
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
25
25
|
Classifier: Programming Language :: Python :: 3.12
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
27
28
|
Classifier: Topic :: Software Development :: Debuggers
|
28
29
|
Classifier: Topic :: Software Development :: Quality Assurance
|
@@ -33,36 +34,36 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
33
34
|
Classifier: Topic :: Utilities
|
34
35
|
Classifier: Typing :: Typed
|
35
36
|
Requires-Python: >=3.8
|
36
|
-
Requires-Dist: robotcode-core==0.
|
37
|
-
Requires-Dist: robotcode-plugin==0.
|
38
|
-
Requires-Dist: robotcode-robot==0.
|
37
|
+
Requires-Dist: robotcode-core==0.95.0
|
38
|
+
Requires-Dist: robotcode-plugin==0.95.0
|
39
|
+
Requires-Dist: robotcode-robot==0.95.0
|
39
40
|
Provides-Extra: all
|
40
41
|
Requires-Dist: docutils; extra == 'all'
|
41
42
|
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
42
43
|
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.
|
44
|
+
Requires-Dist: robotcode-analyze==0.95.0; extra == 'all'
|
45
|
+
Requires-Dist: robotcode-debugger==0.95.0; extra == 'all'
|
46
|
+
Requires-Dist: robotcode-language-server==0.95.0; extra == 'all'
|
47
|
+
Requires-Dist: robotcode-repl==0.95.0; extra == 'all'
|
48
|
+
Requires-Dist: robotcode-runner==0.95.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.
|
52
|
+
Requires-Dist: robotcode-analyze==0.95.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.
|
56
|
+
Requires-Dist: robotcode-debugger==0.95.0; extra == 'debugger'
|
56
57
|
Provides-Extra: languageserver
|
57
|
-
Requires-Dist: robotcode-language-server==0.
|
58
|
+
Requires-Dist: robotcode-language-server==0.95.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.
|
62
|
+
Requires-Dist: robotcode-repl==0.95.0; extra == 'repl'
|
62
63
|
Provides-Extra: rest
|
63
64
|
Requires-Dist: docutils; extra == 'rest'
|
64
65
|
Provides-Extra: runner
|
65
|
-
Requires-Dist: robotcode-runner==0.
|
66
|
+
Requires-Dist: robotcode-runner==0.95.0; extra == 'runner'
|
66
67
|
Provides-Extra: tidy
|
67
68
|
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
68
69
|
Provides-Extra: yaml
|
@@ -75,7 +75,7 @@ post-install-commands = ["pip install -U -e {root:uri}/../robotframework"]
|
|
75
75
|
python = "3.8"
|
76
76
|
|
77
77
|
[[envs.devel.matrix]]
|
78
|
-
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
78
|
+
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
79
79
|
rf = ["rf41", "rf50", "rf60", "rf61", "rf70", "rf71"]
|
80
80
|
|
81
81
|
[envs.devel.overrides]
|
@@ -35,6 +35,7 @@ classifiers = [
|
|
35
35
|
"Programming Language :: Python :: 3.10",
|
36
36
|
"Programming Language :: Python :: 3.11",
|
37
37
|
"Programming Language :: Python :: 3.12",
|
38
|
+
"Programming Language :: Python :: 3.13",
|
38
39
|
"Programming Language :: Python :: Implementation :: CPython",
|
39
40
|
"Topic :: Software Development :: Testing",
|
40
41
|
"Topic :: Software Development :: Testing :: Acceptance",
|
@@ -50,9 +51,9 @@ classifiers = [
|
|
50
51
|
]
|
51
52
|
requires-python = ">=3.8"
|
52
53
|
dependencies = [
|
53
|
-
"robotcode-core==0.
|
54
|
-
"robotcode-plugin==0.
|
55
|
-
"robotcode-robot==0.
|
54
|
+
"robotcode-core==0.95.0",
|
55
|
+
"robotcode-plugin==0.95.0",
|
56
|
+
"robotcode-robot==0.95.0",
|
56
57
|
]
|
57
58
|
dynamic = ["version"]
|
58
59
|
|
@@ -70,22 +71,22 @@ robotcode = "robotcode.cli.__main__:main"
|
|
70
71
|
|
71
72
|
|
72
73
|
[project.optional-dependencies]
|
73
|
-
debugger = ["robotcode-debugger==0.
|
74
|
-
languageserver = ["robotcode-language-server==0.
|
75
|
-
runner = ["robotcode-runner==0.
|
76
|
-
analyze = ["robotcode-analyze==0.
|
74
|
+
debugger = ["robotcode-debugger==0.95.0"]
|
75
|
+
languageserver = ["robotcode-language-server==0.95.0"]
|
76
|
+
runner = ["robotcode-runner==0.95.0"]
|
77
|
+
analyze = ["robotcode-analyze==0.95.0"]
|
77
78
|
yaml = ["PyYAML>=5.4"]
|
78
79
|
lint = ["robotframework-robocop>=2.0.0"]
|
79
80
|
tidy = ["robotframework-tidy>=2.0.0"]
|
80
81
|
rest = ["docutils"]
|
81
|
-
repl = ["robotcode-repl==0.
|
82
|
+
repl = ["robotcode-repl==0.95.0"]
|
82
83
|
colored = ["rich"]
|
83
84
|
all = [
|
84
|
-
"robotcode-debugger==0.
|
85
|
-
"robotcode-language-server==0.
|
86
|
-
"robotcode-runner==0.
|
87
|
-
"robotcode-analyze==0.
|
88
|
-
"robotcode-repl==0.
|
85
|
+
"robotcode-debugger==0.95.0",
|
86
|
+
"robotcode-language-server==0.95.0",
|
87
|
+
"robotcode-runner==0.95.0",
|
88
|
+
"robotcode-analyze==0.95.0",
|
89
|
+
"robotcode-repl==0.95.0",
|
89
90
|
"PyYAML>=5.4",
|
90
91
|
"robotframework-robocop>=2.0.0",
|
91
92
|
"robotframework-tidy>=2.0.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import logging
|
2
2
|
from pathlib import Path
|
3
|
-
from typing import List, Literal, Optional
|
3
|
+
from typing import Any, List, Literal, Optional
|
4
4
|
|
5
5
|
import click
|
6
6
|
|
@@ -20,6 +20,11 @@ from .__version__ import __version__
|
|
20
20
|
from .commands import config, profiles
|
21
21
|
|
22
22
|
|
23
|
+
class RobotCodeFormatter(logging.Formatter):
|
24
|
+
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
25
|
+
super().__init__(*args, **kwargs)
|
26
|
+
|
27
|
+
|
23
28
|
@click.group(
|
24
29
|
cls=AliasedGroup,
|
25
30
|
context_settings={"auto_envvar_prefix": "ROBOTCODE"},
|
@@ -114,7 +119,7 @@ from .commands import config, profiles
|
|
114
119
|
"--log-format",
|
115
120
|
type=str,
|
116
121
|
help="Sets the log format. See python logging documentation for more information.",
|
117
|
-
default=
|
122
|
+
default=logging.BASIC_FORMAT,
|
118
123
|
show_default=True,
|
119
124
|
show_envvar=True,
|
120
125
|
)
|
@@ -252,6 +257,13 @@ def robotcode(
|
|
252
257
|
filename=log_filename,
|
253
258
|
)
|
254
259
|
|
260
|
+
try:
|
261
|
+
logging.root.handlers[0].formatter = RobotCodeFormatter(
|
262
|
+
fmt=log_format, style=log_style, defaults={"indent": ""}
|
263
|
+
)
|
264
|
+
except TypeError:
|
265
|
+
pass
|
266
|
+
|
255
267
|
if debugpy:
|
256
268
|
from robotcode.core.utils.debugpy import (
|
257
269
|
start_debugpy,
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.95.0"
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.93.1"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|