robotcode-robot 0.95.2__tar.gz → 0.96.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/PKG-INFO +3 -3
  2. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/pyproject.toml +3 -2
  3. robotcode_robot-0.96.0/src/robotcode/robot/__version__.py +1 -0
  4. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/imports_manager.py +0 -6
  5. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/library_doc.py +5 -2
  6. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/workspace_config.py +6 -0
  7. robotcode_robot-0.95.2/src/robotcode/robot/__version__.py +0 -1
  8. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/.gitignore +0 -0
  9. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/LICENSE.txt +0 -0
  10. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/README.md +0 -0
  11. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/__init__.py +0 -0
  12. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/config/__init__.py +0 -0
  13. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/config/loader.py +0 -0
  14. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/config/model.py +0 -0
  15. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/config/utils.py +0 -0
  16. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/__init__.py +0 -0
  17. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/data_cache.py +0 -0
  18. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/diagnostics_modifier.py +0 -0
  19. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/document_cache_helper.py +0 -0
  20. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/entities.py +0 -0
  21. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/errors.py +0 -0
  22. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/keyword_finder.py +0 -0
  23. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/model_helper.py +0 -0
  24. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/namespace.py +0 -0
  25. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/diagnostics/namespace_analyzer.py +0 -0
  26. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/py.typed +0 -0
  27. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/__init__.py +0 -0
  28. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/ast.py +0 -0
  29. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/markdownformatter.py +0 -0
  30. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/match.py +0 -0
  31. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/robot_path.py +0 -0
  32. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/stubs.py +0 -0
  33. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/variables.py +0 -0
  34. {robotcode_robot-0.95.2 → robotcode_robot-0.96.0}/src/robotcode/robot/utils/visitor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode-robot
3
- Version: 0.95.2
3
+ Version: 0.96.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
@@ -25,8 +25,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
25
25
  Classifier: Topic :: Utilities
26
26
  Classifier: Typing :: Typed
27
27
  Requires-Python: >=3.8
28
- Requires-Dist: platformdirs<4.2.0,>=3.2.0
29
- Requires-Dist: robotcode-core==0.95.2
28
+ Requires-Dist: platformdirs<4.4.0,>=3.2.0
29
+ Requires-Dist: robotcode-core==0.96.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
@@ -2,6 +2,7 @@
2
2
  requires = ["hatchling"]
3
3
  build-backend = "hatchling.build"
4
4
 
5
+
5
6
  [project]
6
7
  name = "robotcode-robot"
7
8
  description = 'Support classes for RobotCode for handling Robot Framework projects.'
@@ -28,8 +29,8 @@ classifiers = [
28
29
  dependencies = [
29
30
  "robotframework>=4.1.0",
30
31
  "tomli>=1.1.0; python_version < '3.11'",
31
- "platformdirs>=3.2.0,<4.2.0",
32
- "robotcode-core==0.95.2",
32
+ "platformdirs>=3.2.0,<4.4.0",
33
+ "robotcode-core==0.96.0",
33
34
  ]
34
35
  dynamic = ["version"]
35
36
 
@@ -0,0 +1 @@
1
+ __version__ = "0.96.0"
@@ -1227,9 +1227,6 @@ class ImportsManager:
1227
1227
  finally:
1228
1228
  executor.shutdown(wait=True)
1229
1229
 
1230
- if result.stdout:
1231
- self._logger.warning(lambda: f"stdout captured at loading library {name}{args!r}:\n{result.stdout}")
1232
-
1233
1230
  try:
1234
1231
  if meta is not None:
1235
1232
  meta.has_errors = bool(result.errors)
@@ -1402,9 +1399,6 @@ class ImportsManager:
1402
1399
  finally:
1403
1400
  executor.shutdown(True)
1404
1401
 
1405
- if result.stdout:
1406
- self._logger.warning(lambda: f"stdout captured at loading variables {name}{args!r}:\n{result.stdout}")
1407
-
1408
1402
  try:
1409
1403
  if meta is not None:
1410
1404
  meta_file = meta.filepath_base + ".meta"
@@ -292,9 +292,12 @@ class KeywordMatcher:
292
292
  self.normalized_name,
293
293
  self._is_namespace,
294
294
  self._can_have_embedded,
295
- self.embedded_arguments,
296
295
  self.embedded_arguments.name if self.embedded_arguments else None,
297
- self.embedded_arguments.args if self.embedded_arguments else None,
296
+ (
297
+ tuple(self.embedded_arguments.args)
298
+ if self.embedded_arguments and self.embedded_arguments.args
299
+ else None
300
+ ),
298
301
  )
299
302
  )
300
303
 
@@ -67,6 +67,12 @@ class AnalysisDiagnosticModifiersConfig(ConfigBase):
67
67
  hint: List[str] = field(default_factory=list)
68
68
 
69
69
 
70
+ @config_section("robotcode.workspace")
71
+ @dataclass
72
+ class WorkspaceConfig(ConfigBase):
73
+ exclude_patterns: List[str] = field(default_factory=list)
74
+
75
+
70
76
  @dataclass
71
77
  class WorkspaceAnalysisConfig:
72
78
  cache: CacheConfig = field(default_factory=CacheConfig)
@@ -1 +0,0 @@
1
- __version__ = "0.95.2"