robotcode-analyze 2.8.0.dev670__py3-none-any.whl → 2.9.0.dev51__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__ = "2.8.0-dev.670"
1
+ __version__ = "2.9.0-dev.51"
@@ -84,17 +84,20 @@ def dump_model(
84
84
  verbose_callback=app.verbose,
85
85
  )
86
86
 
87
- robot_config = load_robot_config_from_path(
88
- *config_files, extra_tools={"robotcode-analyze": AnalyzeConfig}, verbose_callback=app.verbose
89
- )
90
-
91
- analyzer_config = robot_config.tool.get("robotcode-analyze", None) if robot_config.tool is not None else None
92
- if analyzer_config is None:
93
- analyzer_config = AnalyzeConfig()
94
-
95
- robot_profile = robot_config.combine_profiles(
96
- *(app.config.profiles or []), verbose_callback=app.verbose, error_callback=app.error
97
- ).evaluated_with_env()
87
+ try:
88
+ robot_config = load_robot_config_from_path(
89
+ *config_files, extra_tools={"robotcode-analyze": AnalyzeConfig}, verbose_callback=app.verbose
90
+ )
91
+
92
+ analyzer_config = robot_config.tool.get("robotcode-analyze", None) if robot_config.tool is not None else None
93
+ if analyzer_config is None:
94
+ analyzer_config = AnalyzeConfig()
95
+
96
+ robot_profile = robot_config.combine_profiles(
97
+ *(app.config.profiles or []), verbose_callback=app.verbose, error_callback=app.error
98
+ ).evaluated_with_env()
99
+ except (TypeError, ValueError) as e:
100
+ raise click.ClickException(str(e)) from e
98
101
 
99
102
  if variable:
100
103
  if robot_profile.variables is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode-analyze
3
- Version: 2.8.0-dev.670
3
+ Version: 2.9.0-dev.51
4
4
  Summary: RobotCode analyze plugin for Robot Framework
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -26,9 +26,9 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
26
  Classifier: Topic :: Utilities
27
27
  Classifier: Typing :: Typed
28
28
  Requires-Python: >=3.10
29
- Requires-Dist: robotcode-plugin==2.8.0-dev.670
30
- Requires-Dist: robotcode-robot==2.8.0-dev.670
31
- Requires-Dist: robotcode==2.8.0-dev.670
29
+ Requires-Dist: robotcode-plugin==2.9.0-dev.51
30
+ Requires-Dist: robotcode-robot==2.9.0-dev.51
31
+ Requires-Dist: robotcode==2.9.0-dev.51
32
32
  Requires-Dist: robotframework>=5.0.0
33
33
  Description-Content-Type: text/markdown
34
34
 
@@ -1,8 +1,8 @@
1
1
  robotcode/analyze/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- robotcode/analyze/__version__.py,sha256=H0IFmU7VH6n_W0CbM7UtSwMIjNMI6OcCSdI7uBsndDU,30
2
+ robotcode/analyze/__version__.py,sha256=68lI1Ud2IVxiSKwJTXlHsfwV7s6ASsCia4CPMEdJ8Ls,29
3
3
  robotcode/analyze/cli.py,sha256=MxGeNvscB-I_h00dag3N2Gmbv-frfuYAUAxfkRo26ys,774
4
4
  robotcode/analyze/config.py,sha256=F9_k3-flt2LjJvmENst8F8OHubYCTR65kZQkQE5kdKU,17996
5
- robotcode/analyze/dump_model.py,sha256=eNTZoZDiQ0tX5VMp4qtiEvtQAHevB6LbOf3XSmmeM20,5264
5
+ robotcode/analyze/dump_model.py,sha256=YtuDH0aea7DhzdqPQzBlPJWlRiCKHe-7LCbYwPmN2wA,5400
6
6
  robotcode/analyze/hooks.py,sha256=9YHoDSycYreznXuAdwgjSUo48Kxj-qgCchmx2UxtTQQ,396
7
7
  robotcode/analyze/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
8
8
  robotcode/analyze/cache/cli.py,sha256=TenomugqcXhnFvOgRwV_25q-UPgwLJ0vJLGJnxWchaw,15968
@@ -13,7 +13,7 @@ robotcode/analyze/code/code_analyzer.py,sha256=NREAZMBPIIbtxeWAjcp6OQediAsenDWUW
13
13
  robotcode/analyze/code/diagnostics_context.py,sha256=9JZjexOaCBXKZQFn4eUjwiKr1kGhRiZuD2f9czrSSS0,2411
14
14
  robotcode/analyze/code/language_provider.py,sha256=Hh3WFtB4p0_brCNgCVZuYZfxyJ0oQ0tXW70b4UXevwM,751
15
15
  robotcode/analyze/code/robot_framework_language_provider.py,sha256=z9dR-8QgKUdeFx6vqKq28CvxwWMKRhs1nMii2W76fcU,8541
16
- robotcode_analyze-2.8.0.dev670.dist-info/METADATA,sha256=Y9RSfte52EDTSnena34s0SO-feuadyCPGENQ-IjC2aU,2953
17
- robotcode_analyze-2.8.0.dev670.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
18
- robotcode_analyze-2.8.0.dev670.dist-info/entry_points.txt,sha256=tnZjhZ4BA_m0ZhDzh2TguYSOq4ywFVyFLetV10BAExI,46
19
- robotcode_analyze-2.8.0.dev670.dist-info/RECORD,,
16
+ robotcode_analyze-2.9.0.dev51.dist-info/METADATA,sha256=hkRZua0J0l5YE9zf3T-TG-YRg6Ckiq-3b0X49fcJk9Q,2949
17
+ robotcode_analyze-2.9.0.dev51.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
+ robotcode_analyze-2.9.0.dev51.dist-info/entry_points.txt,sha256=tnZjhZ4BA_m0ZhDzh2TguYSOq4ywFVyFLetV10BAExI,46
19
+ robotcode_analyze-2.9.0.dev51.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.32.4
2
+ Generator: hatchling 1.33.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any