robotcode-plugin 2.4.0__py3-none-any.whl → 2.5.1__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.
@@ -122,6 +122,15 @@ class Application:
122
122
  ColoredOutput.YES,
123
123
  ]
124
124
 
125
+ @property
126
+ def has_rich(self) -> bool:
127
+ try:
128
+ import rich # noqa: F401
129
+
130
+ return True
131
+ except ImportError:
132
+ return False
133
+
125
134
  def verbose(
126
135
  self,
127
136
  message: Union[str, Callable[[], Any], None],
@@ -333,7 +342,7 @@ class Application:
333
342
 
334
343
  def keyboard_interrupt(self) -> None:
335
344
  self.verbose("Aborted!", file=sys.stderr)
336
- sys.exit(253)
345
+ self.exit(253, fast=True)
337
346
 
338
347
  def exit(self, code: int = 0, fast: bool = False) -> None:
339
348
  self.verbose(f"Exit with code {code}")
@@ -1 +1 @@
1
- __version__ = "2.4.0"
1
+ __version__ = "2.5.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-plugin
3
- Version: 2.4.0
3
+ Version: 2.5.1
4
4
  Summary: Some classes for RobotCode plugin management
5
5
  Project-URL: Donate, https://opencollective.com/robotcode
6
6
  Project-URL: Documentation, https://github.com/robotcodedev/robotcode#readme
@@ -1,11 +1,11 @@
1
- robotcode/plugin/__init__.py,sha256=VkVIsdrcszWarDkdAzzxbVtIQh0sXE62gLjR1KsrUkQ,10995
2
- robotcode/plugin/__version__.py,sha256=yLaFvd-K80rs_ClRVYULStijkok4RfYSaanIt_E-aKM,22
1
+ robotcode/plugin/__init__.py,sha256=4meRqy1rySlJl6yq1iadVJtRHaPVV-gJ05KjYkVwnKc,11183
2
+ robotcode/plugin/__version__.py,sha256=PfQ9ThOuZlUZhThya-_PpR02LjazRR6LNSivpta03mM,22
3
3
  robotcode/plugin/manager.py,sha256=ARNXtSbQTRktsbNQGLeU1fwtsK7GdstHa6OJaXuadrU,1098
4
4
  robotcode/plugin/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
5
5
  robotcode/plugin/specs.py,sha256=_Ws6A9CZoCTHdxx_5D8ifpj4tfwin4zYUYJ8WLhSO3U,588
6
6
  robotcode/plugin/click_helper/aliases.py,sha256=NJZKyF6GOro52fjp728OZfqZ9EptNhiJvQBhunqIpzc,1628
7
7
  robotcode/plugin/click_helper/options.py,sha256=eAU05TfOq93wVWkiYqw7BV6RrXAp1xw9jT6DsPRdZ_Y,11430
8
8
  robotcode/plugin/click_helper/types.py,sha256=ZTFw37zZqw_1QLvqvrNMcp95bgYmVhyzi5lx4MB9-7Q,3639
9
- robotcode_plugin-2.4.0.dist-info/METADATA,sha256=3ox6QU2t5osSjDLOExKj6biEv1DNOk5zoSeAUMJyqFc,2757
10
- robotcode_plugin-2.4.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
11
- robotcode_plugin-2.4.0.dist-info/RECORD,,
9
+ robotcode_plugin-2.5.1.dist-info/METADATA,sha256=Wg2No-kwOY0ozaUsXq0mps9qJpIwkMTBKmnUHzCggbw,2757
10
+ robotcode_plugin-2.5.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
11
+ robotcode_plugin-2.5.1.dist-info/RECORD,,