robotcode 0.83.2__tar.gz → 0.84.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.
@@ -293,3 +293,6 @@ report.html
293
293
  .ruff_cache/
294
294
 
295
295
  bundled/libs
296
+
297
+ # robotframework
298
+ results/
@@ -2,6 +2,138 @@
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.84.0](https://github.com/robotcodedev/robotcode/compare/v0.83.3..v0.84.0) - 2024-08-08
6
+
7
+ ### Bug Fixes
8
+
9
+ - **debugger:** Corrected handling of local variables in variables inspector ([12ecdd4](https://github.com/robotcodedev/robotcode/commit/12ecdd43376484a40b6cdeb2bca752bc09178fad))
10
+ - **debugger:** Corrected start debuggin in internalConsole ([f3fbf20](https://github.com/robotcodedev/robotcode/commit/f3fbf20d01d75264d86c0af4575e98b0cfa7ec5b))
11
+ - **robot:** Use casefold for normalizing and remove some local imports in VariableMatcher ([04e12a7](https://github.com/robotcodedev/robotcode/commit/04e12a7ee262177f5bede595baa14e283c3ef4e7))
12
+ - **vscode:** Remove `attachPython` from default `launch.json` config ([8052f8d](https://github.com/robotcodedev/robotcode/commit/8052f8dfc4e83a8d7e26ef8049c3631881e0dd34))
13
+ - **vscode:** Only test cases are reported as queued, started and completed ([f68b8e3](https://github.com/robotcodedev/robotcode/commit/f68b8e34161b4ec977fcae04d891399a53f951fc))
14
+
15
+ this corrects the number of successful/executed test cases in the upper area of the test explorer
16
+
17
+
18
+
19
+ ### Features
20
+
21
+ - **debugger:** Added support for disabling the hiding of debugger threads/tasks. ([049c905](https://github.com/robotcodedev/robotcode/commit/049c90517d36035e3bc86d0271e219e744c5dc7c))
22
+
23
+ By setting the ROBOTCODE_DISABLE_HIDDEN_TASKS environment variable to a value not equal to 0, the Robot Code debugger will not be hidden from the Debugpy debugger, allowing you to debug the Robot Code debugger itself.
24
+
25
+ - Diagnostics modifiers ([223ec13](https://github.com/robotcodedev/robotcode/commit/223ec134a9a947db50aebba0d10ad290ab3bffb5))
26
+
27
+
28
+ Implement functionality to configure diagnostic error messages during source code analysis. Lines in the code with the `# robotcode:` marker are now interpreted as modifiers. The full structure of a modifier is `# robotcode: <action>[code(,code)*]*`.
29
+
30
+ **Allowed actions:**
31
+
32
+ - `ignore`: Ignore specified diagnostic codes.
33
+ - `hint`: Treat specified diagnostic codes as hints.
34
+ - `warn`: Treat specified diagnostic codes as warnings.
35
+ - `error`: Treat specified diagnostic codes as errors.
36
+ - `reset`: Reset the diagnostic codes to their default state.
37
+
38
+ **This implementation allows for the following:**
39
+
40
+ - Custom actions to be performed on specified diagnostic codes.
41
+ - Enhanced control over which diagnostic messages are shown, ignored, or modified.
42
+ - Flexibility in managing diagnostic outputs for better code quality and debugging experience.
43
+
44
+ **Usage details:**
45
+
46
+ - A diagnostic modifier can be placed at the end of a line. It modifies only the errors occurring in that line.
47
+ - A modifier can be placed at the very beginning of a line. It applies from that line to the end of the file.
48
+ - If a modifier is within a block (e.g., Testcase, Keyword, IF, FOR) and is indented, it applies only to the current block.
49
+
50
+ **Example usage:**
51
+
52
+ - `# robotcode: ignore[variable-not-found, keyword-not-found]` - Ignores the errors for variable not found and keyword not found.
53
+ - `# robotcode: hint[MultipleKeywords]` - Treats the MultipleKeywords error as a hint.
54
+ - `# robotcode: warn[variable-not-found]` - Treats the variable-not-found error as a warning.
55
+ - `# robotcode: error[keyword-not-found]` - Treats the keyword-not-found error as an error.
56
+ - `# robotcode: reset[MultipleKeywords]` - Resets the MultipleKeywords error to its default state.
57
+ - `# robotcode: ignore` - Ignores all diagnostic messages .
58
+ - `# robotcode: reset` - Resets all diagnostic messages to their default.
59
+
60
+ **Example scenarios:**
61
+
62
+ *Modifier at the end of a line:*
63
+
64
+ ```robot
65
+ *** Keywords ***
66
+ Keyword Name
67
+ Log ${arg1} # robotcode: ignore[variable-not-found]
68
+ ```
69
+ This modifier will ignore the `variable-not-found` error for the `Log` keyword in this line only.
70
+
71
+ *Modifier at the beginning of a line:*
72
+
73
+ ```robot
74
+ # robotcode: ignore[keyword-not-found]
75
+ *** Test Cases ***
76
+ Example Test
77
+ Log Hello
78
+ Some Undefined Keyword
79
+ ```
80
+ This modifier will ignore `keyword-not-found` errors from the point it is declared to the end of the file.
81
+
82
+ *Modifier within a block:*
83
+
84
+ ```robot
85
+ *** Keywords ***
86
+ Example Keyword
87
+ # robotcode: warn[variable-not-found]
88
+ Log ${arg1}
89
+ Another Keyword
90
+ ```
91
+ This modifier will treat `variable-not-found` errors as warnings within the `Example Keyword` block.
92
+
93
+ *Modifier using reset:*
94
+
95
+ ```robot
96
+ # robotcode: error[variable-not-found]
97
+ *** Test Cases ***
98
+ Example Test
99
+ Log ${undefined_variable}
100
+ # robotcode: reset[variable-not-found]
101
+ Log ${undefined_variable}
102
+ ```
103
+ In this example, the `variable-not-found` error is treated as an error until it is reset in the `Another Test` block, where it will return to its default state.
104
+
105
+ *Modifier to ignore all diagnostic messages:*
106
+
107
+ ```robot
108
+ # robotcode: ignore
109
+ *** Test Cases ***
110
+ Example Test
111
+ Log ${undefined_variable}
112
+ Some Undefined Keyword
113
+ ```
114
+ This modifier will ignore all diagnostic messages from the point it is declared to the end of the file.
115
+
116
+ *Modifier to reset all diagnostic messages:*
117
+
118
+ ```robot
119
+ # robotcode: ignore
120
+ *** Test Cases ***
121
+ Example Test
122
+ Log ${undefined_variable}
123
+ # robotcode: reset
124
+ Another Test
125
+ Some Undefined Keyword
126
+ ```
127
+ In this example, all diagnostic messages are ignored until the `reset` modifier, which returns all messages to their default state from that point onward.
128
+
129
+
130
+ ## [0.83.3](https://github.com/robotcodedev/robotcode/compare/v0.83.2..v0.83.3) - 2024-06-20
131
+
132
+ ### Bug Fixes
133
+
134
+ - **config:** Correct handling of string expression at building the command line in config model ([0a85e3d](https://github.com/robotcodedev/robotcode/commit/0a85e3df465805e6c6ec098d51ee6af43a72ae39))
135
+
136
+
5
137
  ## [0.83.2](https://github.com/robotcodedev/robotcode/compare/v0.83.1..v0.83.2) - 2024-06-20
6
138
 
7
139
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode
3
- Version: 0.83.2
3
+ Version: 0.84.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,33 +33,33 @@ 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.83.2
37
- Requires-Dist: robotcode-plugin==0.83.2
38
- Requires-Dist: robotcode-robot==0.83.2
36
+ Requires-Dist: robotcode-core==0.84.0
37
+ Requires-Dist: robotcode-plugin==0.84.0
38
+ Requires-Dist: robotcode-robot==0.84.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.83.2; extra == 'all'
44
- Requires-Dist: robotcode-debugger==0.83.2; extra == 'all'
45
- Requires-Dist: robotcode-language-server==0.83.2; extra == 'all'
46
- Requires-Dist: robotcode-runner==0.83.2; extra == 'all'
43
+ Requires-Dist: robotcode-analyze==0.84.0; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==0.84.0; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==0.84.0; extra == 'all'
46
+ Requires-Dist: robotcode-runner==0.84.0; extra == 'all'
47
47
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
48
48
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
49
49
  Provides-Extra: analyze
50
- Requires-Dist: robotcode-analyze==0.83.2; extra == 'analyze'
50
+ Requires-Dist: robotcode-analyze==0.84.0; extra == 'analyze'
51
51
  Provides-Extra: colored
52
52
  Requires-Dist: rich; extra == 'colored'
53
53
  Provides-Extra: debugger
54
- Requires-Dist: robotcode-debugger==0.83.2; extra == 'debugger'
54
+ Requires-Dist: robotcode-debugger==0.84.0; extra == 'debugger'
55
55
  Provides-Extra: languageserver
56
- Requires-Dist: robotcode-language-server==0.83.2; extra == 'languageserver'
56
+ Requires-Dist: robotcode-language-server==0.84.0; extra == 'languageserver'
57
57
  Provides-Extra: lint
58
58
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
59
59
  Provides-Extra: rest
60
60
  Requires-Dist: docutils; extra == 'rest'
61
61
  Provides-Extra: runner
62
- Requires-Dist: robotcode-runner==0.83.2; extra == 'runner'
62
+ Requires-Dist: robotcode-runner==0.84.0; extra == 'runner'
63
63
  Provides-Extra: tidy
64
64
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
65
65
  Provides-Extra: yaml
@@ -50,9 +50,9 @@ classifiers = [
50
50
  ]
51
51
  requires-python = ">=3.8"
52
52
  dependencies = [
53
- "robotcode-core==0.83.2",
54
- "robotcode-plugin==0.83.2",
55
- "robotcode-robot==0.83.2",
53
+ "robotcode-core==0.84.0",
54
+ "robotcode-plugin==0.84.0",
55
+ "robotcode-robot==0.84.0",
56
56
  ]
57
57
  dynamic = ["version"]
58
58
 
@@ -70,20 +70,20 @@ robotcode = "robotcode.cli.__main__:main"
70
70
 
71
71
 
72
72
  [project.optional-dependencies]
73
- debugger = ["robotcode-debugger==0.83.2"]
74
- languageserver = ["robotcode-language-server==0.83.2"]
75
- runner = ["robotcode-runner==0.83.2"]
76
- analyze = ["robotcode-analyze==0.83.2"]
73
+ debugger = ["robotcode-debugger==0.84.0"]
74
+ languageserver = ["robotcode-language-server==0.84.0"]
75
+ runner = ["robotcode-runner==0.84.0"]
76
+ analyze = ["robotcode-analyze==0.84.0"]
77
77
  yaml = ["PyYAML>=5.4"]
78
78
  lint = ["robotframework-robocop>=2.0.0"]
79
79
  tidy = ["robotframework-tidy>=2.0.0"]
80
80
  rest = ["docutils"]
81
81
  colored = ["rich"]
82
82
  all = [
83
- "robotcode-debugger==0.83.2",
84
- "robotcode-language-server==0.83.2",
85
- "robotcode-runner==0.83.2",
86
- "robotcode-analyze==0.83.2",
83
+ "robotcode-debugger==0.84.0",
84
+ "robotcode-language-server==0.84.0",
85
+ "robotcode-runner==0.84.0",
86
+ "robotcode-analyze==0.84.0",
87
87
  "PyYAML>=5.4",
88
88
  "robotframework-robocop>=2.0.0",
89
89
  "robotframework-tidy>=2.0.0",
@@ -137,7 +137,7 @@ extend-exclude = '''
137
137
 
138
138
  [tool.pytest.ini_options]
139
139
  minversion = "6.0"
140
- addopts = "-ra -vv -rf --ignore=bundled --ignore=.hatch --reruns 5 --reruns-delay 1"
140
+ addopts = "-ra -vv -rf --ignore=bundled --ignore=.hatch"
141
141
  filterwarnings = "ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning"
142
142
  testpaths = ["tests"]
143
143
  junit_suite_name = "robotcode"
@@ -0,0 +1 @@
1
+ __version__ = "0.84.0"
@@ -1 +0,0 @@
1
- __version__ = "0.83.2"
File without changes
File without changes
File without changes