robotcode 0.66.0__tar.gz → 0.67.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,41 @@
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.67.0](https://github.com/d-biehl/robotcode/compare/v0.66.1..v0.67.0) - 2023-12-13
6
+
7
+ ### Bug Fixes
8
+
9
+ - **langserver:** Correted folding of IF blocks with multiple ELSE/ELSE IF's ([536db5e](https://github.com/d-biehl/robotcode/commit/536db5e7038ada87f37a6dce8fbf6d4c0d9fb0a0))
10
+ - **langserver:** Unbound local variable in imports manager ([6d7b3d2](https://github.com/d-biehl/robotcode/commit/6d7b3d2e53b9e8766891332318b5085a797f40ca))
11
+ - **vscode:** Don't show diagnostics when discover tests from a single file ([25024ac](https://github.com/d-biehl/robotcode/commit/25024ac4151571448b3ca465f90823d1761c336e))
12
+
13
+
14
+ ### Features
15
+
16
+ - **cli:** Introduce a command line switch to log to a file ([7a6b8af](https://github.com/d-biehl/robotcode/commit/7a6b8af39989b5c49e3350fea65f46ed496d0db8))
17
+ - **debugger:** Lighter color for timestamps and respect the `--no-color' command line switch to disable colored output ([6f12eed](https://github.com/d-biehl/robotcode/commit/6f12eed78b03f5efc19a87c69c46254a8f1b1cc8))
18
+
19
+
20
+ ### Refactor
21
+
22
+ - **langserver:** Make documents handling synchronous and more threadsafe ([d1c72c2](https://github.com/d-biehl/robotcode/commit/d1c72c21b8fd7851c9743c23e3b98cd67d0e53dd))
23
+ - **langserver,jsonrpc:** Use concurrent.futures.Future to send request, make register_capabilities syncronous ([41f495b](https://github.com/d-biehl/robotcode/commit/41f495b6d01300400365009d50123f2cf83914e3))
24
+
25
+
26
+ ### Testing
27
+
28
+ - **langserver:** Fix some regression tests ([0016ef6](https://github.com/d-biehl/robotcode/commit/0016ef6318b6587fb8e9f193d80e8a5da370538c))
29
+ - **langserver:** Fix some regression tests ([fec9542](https://github.com/d-biehl/robotcode/commit/fec954287c534d2e98f8a798d7058426231a86ed))
30
+ - **langserver:** Fix some more regression tests ([a399bd6](https://github.com/d-biehl/robotcode/commit/a399bd6e1bd9fae2f15a198ec1c75b49b814947b))
31
+
32
+
33
+ ## [0.66.1](https://github.com/d-biehl/robotcode/compare/v0.66.0..v0.66.1) - 2023-11-24
34
+
35
+ ### Bug Fixes
36
+
37
+ - **langserver:** Show a hint instead an error if there are variables used in a test case name ([6589b71](https://github.com/d-biehl/robotcode/commit/6589b712c12efc570ab5d395752b3e0acce8fac8))
38
+
39
+
5
40
  ## [0.66.0](https://github.com/d-biehl/robotcode/compare/v0.65.1..v0.66.0) - 2023-11-23
6
41
 
7
42
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: robotcode
3
- Version: 0.66.0
3
+ Version: 0.67.0
4
4
  Summary: Language server, debugger and tools for Robot Framework
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://github.com/sponsors/d-biehl
@@ -33,31 +33,31 @@ 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.66.0
36
+ Requires-Dist: robotcode-core==0.67.0
37
37
  Provides-Extra: all
38
38
  Requires-Dist: docutils; extra == 'all'
39
39
  Requires-Dist: pyyaml>=5.4; extra == 'all'
40
40
  Requires-Dist: rich; extra == 'all'
41
- Requires-Dist: robotcode-analyze==0.66.0; extra == 'all'
42
- Requires-Dist: robotcode-debugger==0.66.0; extra == 'all'
43
- Requires-Dist: robotcode-language-server==0.66.0; extra == 'all'
44
- Requires-Dist: robotcode-runner==0.66.0; extra == 'all'
41
+ Requires-Dist: robotcode-analyze==0.67.0; extra == 'all'
42
+ Requires-Dist: robotcode-debugger==0.67.0; extra == 'all'
43
+ Requires-Dist: robotcode-language-server==0.67.0; extra == 'all'
44
+ Requires-Dist: robotcode-runner==0.67.0; extra == 'all'
45
45
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
46
46
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
47
47
  Provides-Extra: analyze
48
- Requires-Dist: robotcode-analyze==0.66.0; extra == 'analyze'
48
+ Requires-Dist: robotcode-analyze==0.67.0; extra == 'analyze'
49
49
  Provides-Extra: colored
50
50
  Requires-Dist: rich; extra == 'colored'
51
51
  Provides-Extra: debugger
52
- Requires-Dist: robotcode-debugger==0.66.0; extra == 'debugger'
52
+ Requires-Dist: robotcode-debugger==0.67.0; extra == 'debugger'
53
53
  Provides-Extra: languageserver
54
- Requires-Dist: robotcode-language-server==0.66.0; extra == 'languageserver'
54
+ Requires-Dist: robotcode-language-server==0.67.0; extra == 'languageserver'
55
55
  Provides-Extra: lint
56
56
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
57
57
  Provides-Extra: rest
58
58
  Requires-Dist: docutils; extra == 'rest'
59
59
  Provides-Extra: runner
60
- Requires-Dist: robotcode-runner==0.66.0; extra == 'runner'
60
+ Requires-Dist: robotcode-runner==0.67.0; extra == 'runner'
61
61
  Provides-Extra: tidy
62
62
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
63
63
  Provides-Extra: yaml
@@ -16,7 +16,7 @@ only-include = ["src", "CHANGELOG.md"]
16
16
  dependencies = [
17
17
  "pytest",
18
18
  "pytest-html",
19
- "pytest_asyncio",
19
+ "pytest_asyncio>=0.21,<0.23",
20
20
  # "pytest-regtest>=1.5.0",
21
21
  "pytest-cov",
22
22
  "mypy",
@@ -49,7 +49,7 @@ classifiers = [
49
49
  "Framework :: Robot Framework :: Tool",
50
50
  ]
51
51
  requires-python = ">=3.8"
52
- dependencies = ["robotcode-core==0.66.0"]
52
+ dependencies = ["robotcode-core==0.67.0"]
53
53
  dynamic = ["version"]
54
54
 
55
55
 
@@ -66,20 +66,20 @@ robotcode = "robotcode.cli.__main__:main"
66
66
 
67
67
 
68
68
  [project.optional-dependencies]
69
- debugger = ["robotcode-debugger==0.66.0"]
70
- languageserver = ["robotcode-language-server==0.66.0"]
71
- runner = ["robotcode-runner==0.66.0"]
72
- analyze = ["robotcode-analyze==0.66.0"]
69
+ debugger = ["robotcode-debugger==0.67.0"]
70
+ languageserver = ["robotcode-language-server==0.67.0"]
71
+ runner = ["robotcode-runner==0.67.0"]
72
+ analyze = ["robotcode-analyze==0.67.0"]
73
73
  yaml = ["PyYAML>=5.4"]
74
74
  lint = ["robotframework-robocop>=2.0.0"]
75
75
  tidy = ["robotframework-tidy>=2.0.0"]
76
76
  rest = ["docutils"]
77
77
  colored = ["rich"]
78
78
  all = [
79
- "robotcode-debugger==0.66.0",
80
- "robotcode-language-server==0.66.0",
81
- "robotcode-runner==0.66.0",
82
- "robotcode-analyze==0.66.0",
79
+ "robotcode-debugger==0.67.0",
80
+ "robotcode-language-server==0.67.0",
81
+ "robotcode-runner==0.67.0",
82
+ "robotcode-analyze==0.67.0",
83
83
  "PyYAML>=5.4",
84
84
  "robotframework-robocop>=2.0.0",
85
85
  "robotframework-tidy>=2.0.0",
@@ -163,7 +163,7 @@ fail_under = 40
163
163
  line-length = 120
164
164
  target-version = "py38"
165
165
  extend-exclude = ["bundled/libs", ".hatch"]
166
- ignore = ["E741", "N805", "N999", "RUF012"]
166
+ ignore = ["E741", "N805", "N999", "RUF012", "RUF006"]
167
167
  select = [
168
168
  "E",
169
169
  "F",
@@ -88,6 +88,14 @@ from .commands import config, profiles
88
88
  show_default=True,
89
89
  show_envvar=True,
90
90
  )
91
+ @click.option(
92
+ "--log-filename",
93
+ type=click.Path(file_okay=True, dir_okay=False, writable=True, exists=False, path_type=str),
94
+ help="Write log output to a file instead to console.",
95
+ default=None,
96
+ show_default=True,
97
+ show_envvar=True,
98
+ )
91
99
  @click.option(
92
100
  "--log-calls",
93
101
  is_flag=True,
@@ -146,6 +154,7 @@ def robotcode(
146
154
  pager: Optional[bool],
147
155
  log: bool,
148
156
  log_level: str,
157
+ log_filename: Optional[str],
149
158
  log_calls: bool,
150
159
  default_path: Optional[List[str]],
151
160
  launcher_script: Optional[str] = None,
@@ -186,7 +195,7 @@ def robotcode(
186
195
  if log_calls:
187
196
  LoggingDescriptor.set_call_tracing(True)
188
197
 
189
- logging.basicConfig(level=log_level, format="%(name)s:%(levelname)s: %(message)s")
198
+ logging.basicConfig(level=log_level, format="%(name)s:%(levelname)s: %(message)s", filename=log_filename)
190
199
 
191
200
  if debugpy:
192
201
  from robotcode.core.utils.debugpy import start_debugpy, wait_for_debugpy_connected
@@ -0,0 +1 @@
1
+ __version__ = "0.67.0"
@@ -1 +0,0 @@
1
- __version__ = "0.66.0"
File without changes
File without changes
File without changes