robotcode 0.93.1__tar.gz → 0.94.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,39 @@
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.94.0](https://github.com/robotcodedev/robotcode/compare/v0.93.1..v0.94.0) - 2024-10-20
6
+
7
+ ### Bug Fixes
8
+
9
+ - **analyzer:** Better exception message for invalid command variable files ([f8cb770](https://github.com/robotcodedev/robotcode/commit/f8cb770e68815719d6c70404325c8e7e75956fd6))
10
+ - **analyzer:** Decrease load load library timeout and better error messages if time out occurs ([a3fb4a3](https://github.com/robotcodedev/robotcode/commit/a3fb4a3f6011b6d74cc5d9970b5faa1d7a090b1a))
11
+ - **docs:** Corrected some things about the inheritance of profiles ([aa50cc7](https://github.com/robotcodedev/robotcode/commit/aa50cc74173671b629ebd2c8c7adbddc5f5ce77d))
12
+ - **repl:** Corrected start of repl command if there is no `robot.toml` with a `path` setting ([42f96b4](https://github.com/robotcodedev/robotcode/commit/42f96b4fe42e75c52f58734c1767cd7d39307e06))
13
+ - Correct analyzing of variables in WhileHeader options ([3a4ee79](https://github.com/robotcodedev/robotcode/commit/3a4ee79651c0d8ba650113e953abee52866f4338))
14
+
15
+
16
+ ### Features
17
+
18
+ - Python 3.13 support ([3874a9c](https://github.com/robotcodedev/robotcode/commit/3874a9cee3116794f510f79c1aa28586ce7b7d06))
19
+
20
+
21
+ ### Performance
22
+
23
+ - **analyze:** Improved performance of code analysis (more then 2x faster) ([2951759](https://github.com/robotcodedev/robotcode/commit/29517592ee6a09d6e36cb89dae81aa6b5669709e))
24
+ - **analyze:** Optimize find unused refences (1.5x-2x faster) ([fda1f02](https://github.com/robotcodedev/robotcode/commit/fda1f029a1c9e18b9334ade8ea338e47a953cd30))
25
+ - **analyzer:** Move model and token analyzing to the normal analysing stage ([7b3eb0c](https://github.com/robotcodedev/robotcode/commit/7b3eb0cafc5e3843827f3ef5e89b2c75bd986ab4))
26
+
27
+
28
+ ### Refactor
29
+
30
+ - **analyze:** Remove unused/unneeded call to find variable in namespace ([b561607](https://github.com/robotcodedev/robotcode/commit/b5616072372bfe08bd6bcc9c08188ae867aa4a35))
31
+
32
+
33
+ ### Testing
34
+
35
+ - Update tests for RF 7.1.1 ([702c5c9](https://github.com/robotcodedev/robotcode/commit/702c5c9a666f7ab2ae560f6e2c0c0393ece60dc3))
36
+
37
+
5
38
  ## [0.93.1](https://github.com/robotcodedev/robotcode/compare/v0.93.0..v0.93.1) - 2024-10-09
6
39
 
7
40
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode
3
- Version: 0.93.1
3
+ Version: 0.94.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.93.1
37
- Requires-Dist: robotcode-plugin==0.93.1
38
- Requires-Dist: robotcode-robot==0.93.1
37
+ Requires-Dist: robotcode-core==0.94.0
38
+ Requires-Dist: robotcode-plugin==0.94.0
39
+ Requires-Dist: robotcode-robot==0.94.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.93.1; extra == 'all'
44
- Requires-Dist: robotcode-debugger==0.93.1; extra == 'all'
45
- Requires-Dist: robotcode-language-server==0.93.1; extra == 'all'
46
- Requires-Dist: robotcode-repl==0.93.1; extra == 'all'
47
- Requires-Dist: robotcode-runner==0.93.1; extra == 'all'
44
+ Requires-Dist: robotcode-analyze==0.94.0; extra == 'all'
45
+ Requires-Dist: robotcode-debugger==0.94.0; extra == 'all'
46
+ Requires-Dist: robotcode-language-server==0.94.0; extra == 'all'
47
+ Requires-Dist: robotcode-repl==0.94.0; extra == 'all'
48
+ Requires-Dist: robotcode-runner==0.94.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.93.1; extra == 'analyze'
52
+ Requires-Dist: robotcode-analyze==0.94.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.93.1; extra == 'debugger'
56
+ Requires-Dist: robotcode-debugger==0.94.0; extra == 'debugger'
56
57
  Provides-Extra: languageserver
57
- Requires-Dist: robotcode-language-server==0.93.1; extra == 'languageserver'
58
+ Requires-Dist: robotcode-language-server==0.94.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.93.1; extra == 'repl'
62
+ Requires-Dist: robotcode-repl==0.94.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.93.1; extra == 'runner'
66
+ Requires-Dist: robotcode-runner==0.94.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.93.1",
54
- "robotcode-plugin==0.93.1",
55
- "robotcode-robot==0.93.1",
54
+ "robotcode-core==0.94.0",
55
+ "robotcode-plugin==0.94.0",
56
+ "robotcode-robot==0.94.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.93.1"]
74
- languageserver = ["robotcode-language-server==0.93.1"]
75
- runner = ["robotcode-runner==0.93.1"]
76
- analyze = ["robotcode-analyze==0.93.1"]
74
+ debugger = ["robotcode-debugger==0.94.0"]
75
+ languageserver = ["robotcode-language-server==0.94.0"]
76
+ runner = ["robotcode-runner==0.94.0"]
77
+ analyze = ["robotcode-analyze==0.94.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.93.1"]
82
+ repl = ["robotcode-repl==0.94.0"]
82
83
  colored = ["rich"]
83
84
  all = [
84
- "robotcode-debugger==0.93.1",
85
- "robotcode-language-server==0.93.1",
86
- "robotcode-runner==0.93.1",
87
- "robotcode-analyze==0.93.1",
88
- "robotcode-repl==0.93.1",
85
+ "robotcode-debugger==0.94.0",
86
+ "robotcode-language-server==0.94.0",
87
+ "robotcode-runner==0.94.0",
88
+ "robotcode-analyze==0.94.0",
89
+ "robotcode-repl==0.94.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="%(name)s:%(levelname)s: %(message)s",
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.94.0"
@@ -1 +0,0 @@
1
- __version__ = "0.93.1"
File without changes
File without changes
File without changes