robotcode-robot 1.4.0__py3-none-any.whl → 1.6.0__py3-none-any.whl

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.
@@ -1 +1 @@
1
- __version__ = "1.4.0"
1
+ __version__ = "1.6.0"
@@ -589,7 +589,6 @@ class DocumentsCacheHelper:
589
589
  return self._imports_managers[folder]
590
590
 
591
591
  def calc_cache_path(self, folder_uri: Uri) -> Path:
592
- # TODO: cache path should be configurable, save cache in vscode workspace folder or in robotcode cache folder
593
592
  return folder_uri.to_path()
594
593
 
595
594
  def get_diagnostic_modifier(self, document: TextDocument) -> DiagnosticsModifier:
@@ -65,7 +65,6 @@ class KeywordFinder:
65
65
  self.multiple_keywords_result = None
66
66
  self.result_bdd_prefix = None
67
67
 
68
- # TODO: make this threadsafe
69
68
  def find_keyword(
70
69
  self,
71
70
  name: Optional[str],
@@ -357,7 +357,7 @@ class NamespaceAnalyzer(Visitor):
357
357
 
358
358
  var = var_type(
359
359
  name=matcher.name,
360
- name_token=strip_variable_token(stripped_name_token),
360
+ name_token=stripped_name_token,
361
361
  line_no=stripped_name_token.lineno,
362
362
  col_offset=stripped_name_token.col_offset,
363
363
  end_line_no=stripped_name_token.lineno,
@@ -372,9 +372,7 @@ class NamespaceAnalyzer(Visitor):
372
372
  else:
373
373
  existing_var = self._variables[var.matcher]
374
374
 
375
- location = Location(
376
- self._namespace.document_uri, range_from_token(strip_variable_token(stripped_name_token))
377
- )
375
+ location = Location(self._namespace.document_uri, range_from_token(stripped_name_token))
378
376
  self._variable_references[existing_var].add(location)
379
377
  if existing_var in self._overridden_variables:
380
378
  self._variable_references[self._overridden_variables[existing_var]].add(location)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-robot
3
- Version: 1.4.0
3
+ Version: 1.6.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.4.0,>=3.2.0
29
- Requires-Dist: robotcode-core==1.4.0
29
+ Requires-Dist: robotcode-core==1.6.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=8UhoYEXHs1Oai7BW_ExBmuwWnRI-yMG_u1fQAXMizHQ,22
2
+ robotcode/robot/__version__.py,sha256=8EjIC8Er4Bn8PhErizTXrZVYTgb6tHgj00LrrBVNYXA,22
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=qrP810HNMDpqhXopWa0dOa0Wq_zQfVctsNYKY6sLKGI,8654
@@ -8,15 +8,15 @@ robotcode/robot/config/utils.py,sha256=xY-LH31BidWzonpvSrle-4HvKrp02I7IRqU2JwlL4
8
8
  robotcode/robot/diagnostics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  robotcode/robot/diagnostics/data_cache.py,sha256=duLbcKzwqlCC1tBvJY8ASYh2LcIoCSs8_NgQ8NUQ7VU,3186
10
10
  robotcode/robot/diagnostics/diagnostics_modifier.py,sha256=6zJdXBd6g1QM12XJbsHd8gNNysECMnWlne3q8XNgBDo,9797
11
- robotcode/robot/diagnostics/document_cache_helper.py,sha256=5H0S7qDCeoEmqjMLUE7EQy9iZcZTYIUl5H1Pdvn5s5I,23886
11
+ robotcode/robot/diagnostics/document_cache_helper.py,sha256=PFvK4kpDLy-ONGPuIoxZgXV5ZlZ-Or8geGNqbdCk0s8,23768
12
12
  robotcode/robot/diagnostics/entities.py,sha256=ubjARNPP4fNGoOfv0Mm1RrbdpPfF3GC0Qn7Sz5Zeoc0,12449
13
13
  robotcode/robot/diagnostics/errors.py,sha256=irVOZIcnpf611c9BdWXWpRu2esEl6SSN0EvZjA7p3bY,2060
14
14
  robotcode/robot/diagnostics/imports_manager.py,sha256=X7ZEMaLzplrVt_880NyxFnbKlTNKpvNHWQxZeMoaQd0,61167
15
- robotcode/robot/diagnostics/keyword_finder.py,sha256=TRYnbliYe0LPwqzdzABZawJEafksAsZBQ3pF3zYMdaA,18763
15
+ robotcode/robot/diagnostics/keyword_finder.py,sha256=FHPxstUl_0gN5EmmCF0oEjqgxcRNzCDTbxZnmIIrqL8,18730
16
16
  robotcode/robot/diagnostics/library_doc.py,sha256=4Eio6ujJydBFnjJwiNKvw-0FM1LqBlFckclE7bzW6BQ,100764
17
17
  robotcode/robot/diagnostics/model_helper.py,sha256=RmKg1t5qsbSbW5uiehpFzJt157gDSQ1ayzXlur26AGI,31000
18
18
  robotcode/robot/diagnostics/namespace.py,sha256=dS8_1JZj-Vk-zX8JswkLJ5cKIg2J0FgEvnXRcnUCeZg,80960
19
- robotcode/robot/diagnostics/namespace_analyzer.py,sha256=Tv5Pje9WQkUG3LAgJER4eYhiLxXg8molmCvm0LlOro4,78849
19
+ robotcode/robot/diagnostics/namespace_analyzer.py,sha256=qkOuyIhy8W7C1Ed77v1gl5evmYoO-a2vPtwVytkrKd8,78759
20
20
  robotcode/robot/diagnostics/workspace_config.py,sha256=gyKR5z-HpnjxPAui3YujgeZqXX7RYBO_ErGVlk7vnGc,2689
21
21
  robotcode/robot/utils/__init__.py,sha256=HETwRb7y8SJSehSxygixKwkUGdiTKNgS4NjXVOUrUzE,361
22
22
  robotcode/robot/utils/ast.py,sha256=IdihPbvY2ERwm763mwPcDUZlS-si6AgNdF3ROqX48Pk,11417
@@ -26,7 +26,7 @@ robotcode/robot/utils/robot_path.py,sha256=Z-GVBOPA_xeD20bCJi4_AWaU0eQWvCym-YFty
26
26
  robotcode/robot/utils/stubs.py,sha256=umugZYAyneFNgqRJBRMJPzm0u0B_TH8Sx_y-ykXnxpw,351
27
27
  robotcode/robot/utils/variables.py,sha256=RCmBdVWtwVkB058QCBE_Bj3_28H1sXmYs0lJF9bVc0w,7644
28
28
  robotcode/robot/utils/visitor.py,sha256=nP3O0qh3YYuxR6S8wYJRBFfNwIVgsgohURBlrnFkRYQ,2299
29
- robotcode_robot-1.4.0.dist-info/METADATA,sha256=ocuYiW2jbZMOm-vAG9APiJRdHiX-h9XI8f5hVQNPGKs,2238
30
- robotcode_robot-1.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- robotcode_robot-1.4.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
32
- robotcode_robot-1.4.0.dist-info/RECORD,,
29
+ robotcode_robot-1.6.0.dist-info/METADATA,sha256=qjAYQTWGWXVb-t-JKsnVMj5Pw9R-8QF9K1TRISGVb6M,2238
30
+ robotcode_robot-1.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ robotcode_robot-1.6.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
32
+ robotcode_robot-1.6.0.dist-info/RECORD,,