robotcode-robot 0.90.0__py3-none-any.whl → 0.91.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- robotcode/robot/__version__.py +1 -1
- robotcode/robot/diagnostics/errors.py +2 -0
- robotcode/robot/diagnostics/namespace_analyzer.py +21 -0
- {robotcode_robot-0.90.0.dist-info → robotcode_robot-0.91.0.dist-info}/METADATA +2 -2
- {robotcode_robot-0.90.0.dist-info → robotcode_robot-0.91.0.dist-info}/RECORD +7 -7
- {robotcode_robot-0.90.0.dist-info → robotcode_robot-0.91.0.dist-info}/WHEEL +0 -0
- {robotcode_robot-0.90.0.dist-info → robotcode_robot-0.91.0.dist-info}/licenses/LICENSE.txt +0 -0
robotcode/robot/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.91.0"
|
@@ -1117,6 +1117,27 @@ class NamespaceAnalyzer(Visitor, ModelHelper):
|
|
1117
1117
|
code=Error.DEPRECATED_HYPHEN_TAG,
|
1118
1118
|
)
|
1119
1119
|
|
1120
|
+
def visit_SectionHeader(self, node: Statement) -> None: # noqa: N802
|
1121
|
+
if get_robot_version() >= (7, 0):
|
1122
|
+
token = node.get_token(*Token.HEADER_TOKENS)
|
1123
|
+
if not token.error:
|
1124
|
+
return
|
1125
|
+
if token.type == Token.INVALID_HEADER:
|
1126
|
+
self.append_diagnostics(
|
1127
|
+
range=range_from_node_or_token(node, token),
|
1128
|
+
message=token.error,
|
1129
|
+
severity=DiagnosticSeverity.ERROR,
|
1130
|
+
code=Error.INVALID_HEADER,
|
1131
|
+
)
|
1132
|
+
else:
|
1133
|
+
self.append_diagnostics(
|
1134
|
+
range=range_from_node_or_token(node, token),
|
1135
|
+
message=token.error,
|
1136
|
+
severity=DiagnosticSeverity.WARNING,
|
1137
|
+
tags=[DiagnosticTag.DEPRECATED],
|
1138
|
+
code=Error.DEPRECATED_HEADER,
|
1139
|
+
)
|
1140
|
+
|
1120
1141
|
def visit_ReturnSetting(self, node: Statement) -> None: # noqa: N802
|
1121
1142
|
if get_robot_version() >= (7, 0):
|
1122
1143
|
token = node.get_token(Token.RETURN_SETTING)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: robotcode-robot
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.91.0
|
4
4
|
Summary: Support classes for RobotCode for handling Robot Framework projects.
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
@@ -26,7 +26,7 @@ Classifier: Topic :: Utilities
|
|
26
26
|
Classifier: Typing :: Typed
|
27
27
|
Requires-Python: >=3.8
|
28
28
|
Requires-Dist: platformdirs<4.2.0,>=3.2.0
|
29
|
-
Requires-Dist: robotcode-core==0.
|
29
|
+
Requires-Dist: robotcode-core==0.91.0
|
30
30
|
Requires-Dist: robotframework>=4.1.0
|
31
31
|
Requires-Dist: tomli>=1.1.0; python_version < '3.11'
|
32
32
|
Description-Content-Type: text/markdown
|
@@ -1,5 +1,5 @@
|
|
1
1
|
robotcode/robot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
robotcode/robot/__version__.py,sha256=
|
2
|
+
robotcode/robot/__version__.py,sha256=RBon26SFk4Bs08h0XAmTYW8lrYs3N9ihifF9r6VT4Vc,23
|
3
3
|
robotcode/robot/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
4
4
|
robotcode/robot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
robotcode/robot/config/loader.py,sha256=LpGqJAdysvVSZpccW-Il52xn9RMBBb9X94emlBY7zCc,6077
|
@@ -9,12 +9,12 @@ robotcode/robot/diagnostics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
9
9
|
robotcode/robot/diagnostics/diagnostics_modifier.py,sha256=9AFptQsdw_TvgBkKqutpvI8WKsOUXipXQDOExarJJy4,6903
|
10
10
|
robotcode/robot/diagnostics/document_cache_helper.py,sha256=pa9AdSbEFZJ6VSdZluGyfzyZPjzBfNFAv5pXJEM-7fc,22664
|
11
11
|
robotcode/robot/diagnostics/entities.py,sha256=AtrqPAS3XUC-8VpFmqMXfMKjQHmfxXZlyGWWFaEBpQA,10979
|
12
|
-
robotcode/robot/diagnostics/errors.py,sha256=
|
12
|
+
robotcode/robot/diagnostics/errors.py,sha256=HCE0h0_ui1tx-6pJHs0r4s09ZHmArYwKUo-_lBl9K-4,1600
|
13
13
|
robotcode/robot/diagnostics/imports_manager.py,sha256=qE__lm0Hsj3R0gUauXRmbWJPYihNjk3O-c5hcICGQjc,56251
|
14
14
|
robotcode/robot/diagnostics/library_doc.py,sha256=CHgyC9GMRQFP3fGTxWa139rIcGIk8Ys6Q_ZIDSgse7k,97324
|
15
15
|
robotcode/robot/diagnostics/model_helper.py,sha256=_5ixKKMrb-nY-uvV8_WjJ1rlNlz7gT7kHM5NYi_hjVg,30232
|
16
16
|
robotcode/robot/diagnostics/namespace.py,sha256=jCUb5GmMDA6KTr2BnwHD_0Mp_gTg1XGskUvRYPL7XQ0,89543
|
17
|
-
robotcode/robot/diagnostics/namespace_analyzer.py,sha256=
|
17
|
+
robotcode/robot/diagnostics/namespace_analyzer.py,sha256=3eC1xEBm_foCnqoHk8Cj6O11UXOHcHxWnfuKP8M5KIQ,51369
|
18
18
|
robotcode/robot/diagnostics/workspace_config.py,sha256=lWNq1KmGGJ9cHFNHn0QTCBHHzgz4AewTw0l-W4TKrj0,1803
|
19
19
|
robotcode/robot/utils/__init__.py,sha256=OjNPMn_XSnfaMCyKd8Kmq6vlRt6mIGlzW4qiiD3ykUg,447
|
20
20
|
robotcode/robot/utils/ast.py,sha256=ynxvXv1SHkAcF07m76ey9_zaGCYXhlPOnny7km-XWSQ,10479
|
@@ -24,7 +24,7 @@ robotcode/robot/utils/robot_path.py,sha256=qKBh1cEnReBBLKkWu4gB9EzM-scAwE4xJc1m6
|
|
24
24
|
robotcode/robot/utils/stubs.py,sha256=6-DMI_CQVJHDgG13t-zINKGCRb_Q7MQPm0_AkfhAEvE,748
|
25
25
|
robotcode/robot/utils/variables.py,sha256=fEl8S37lb_mD4hn2MZRAlkiuLGBjAOeZVK0r2o2CfPw,742
|
26
26
|
robotcode/robot/utils/visitor.py,sha256=uYLqEhGPmzWKWI3SSrmCaYMwtKvNShvbiPZ4b3FavX8,3241
|
27
|
-
robotcode_robot-0.
|
28
|
-
robotcode_robot-0.
|
29
|
-
robotcode_robot-0.
|
30
|
-
robotcode_robot-0.
|
27
|
+
robotcode_robot-0.91.0.dist-info/METADATA,sha256=Cl7XlzEEn_Q5xmyv7C6R09JliQm1pL45DGuC-M4cSrY,2240
|
28
|
+
robotcode_robot-0.91.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
29
|
+
robotcode_robot-0.91.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
30
|
+
robotcode_robot-0.91.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|