robotkernel
Advanced tools
Sorry, the diff of this file is not supported yet
+6
-0
| Changelog | ||
| ========= | ||
| 1.5.0 (2021-04-22) | ||
| ------------------ | ||
| - Add support for robotframework 4.0 | ||
| [datakurre] | ||
| 1.4.0 (2020-04-27) | ||
@@ -5,0 +11,0 @@ ------------------ |
+10
-1
| Metadata-Version: 1.1 | ||
| Name: robotkernel | ||
| Version: 1.4.0 | ||
| Version: 1.5.0 | ||
| Summary: A Jupyter kernel for interactive acceptance-test-driven development with the Robot Framework | ||
@@ -12,2 +12,4 @@ Home-page: https://github.com/robots-from-jupyter/robotkernel | ||
| |Smoketest Badge| | ||
| RobotKernel is a `Robot Framework`_ IPython_ kernel for `Jupyter Notebook`_ and JupyterLab_. It powers RobotLab_ – the Robot Framework JupyterLab distribution. Check a `video to see it in action`_ and `read the documentation`_. | ||
@@ -17,2 +19,3 @@ | ||
| .. |Smoketest Badge| image:: https://github.com/robots-from-jupyter/robotkernel/workflows/smoketest/badge.svg | ||
| .. _video to see it in action: https://youtu.be/uYGh9_c3b7s | ||
@@ -175,2 +178,8 @@ .. _read the documentation: https://robots-from-jupyter.github.io/robotkernel/ | ||
| 1.5.0 (2021-04-22) | ||
| ------------------ | ||
| - Add support for robotframework 4.0 | ||
| [datakurre] | ||
| 1.4.0 (2020-04-27) | ||
@@ -177,0 +186,0 @@ ------------------ |
+3
-0
| Robotkernel | ||
| =========== | ||
| |Smoketest Badge| | ||
| RobotKernel is a `Robot Framework`_ IPython_ kernel for `Jupyter Notebook`_ and JupyterLab_. It powers RobotLab_ – the Robot Framework JupyterLab distribution. Check a `video to see it in action`_ and `read the documentation`_. | ||
@@ -8,2 +10,3 @@ | ||
| .. |Smoketest Badge| image:: https://github.com/robots-from-jupyter/robotkernel/workflows/smoketest/badge.svg | ||
| .. _video to see it in action: https://youtu.be/uYGh9_c3b7s | ||
@@ -10,0 +13,0 @@ .. _read the documentation: https://robots-from-jupyter.github.io/robotkernel/ |
+1
-1
| [metadata] | ||
| name = robotkernel | ||
| version = 1.4.0 | ||
| version = 1.5.0 | ||
| description = A Jupyter kernel for interactive acceptance-test-driven development with the Robot Framework | ||
@@ -5,0 +5,0 @@ long_description = file: README.rst, CHANGELOG.rst |
| Metadata-Version: 1.1 | ||
| Name: robotkernel | ||
| Version: 1.4.0 | ||
| Version: 1.5.0 | ||
| Summary: A Jupyter kernel for interactive acceptance-test-driven development with the Robot Framework | ||
@@ -12,2 +12,4 @@ Home-page: https://github.com/robots-from-jupyter/robotkernel | ||
| |Smoketest Badge| | ||
| RobotKernel is a `Robot Framework`_ IPython_ kernel for `Jupyter Notebook`_ and JupyterLab_. It powers RobotLab_ – the Robot Framework JupyterLab distribution. Check a `video to see it in action`_ and `read the documentation`_. | ||
@@ -17,2 +19,3 @@ | ||
| .. |Smoketest Badge| image:: https://github.com/robots-from-jupyter/robotkernel/workflows/smoketest/badge.svg | ||
| .. _video to see it in action: https://youtu.be/uYGh9_c3b7s | ||
@@ -175,2 +178,8 @@ .. _read the documentation: https://robots-from-jupyter.github.io/robotkernel/ | ||
| 1.5.0 (2021-04-22) | ||
| ------------------ | ||
| - Add support for robotframework 4.0 | ||
| [datakurre] | ||
| 1.4.0 (2020-04-27) | ||
@@ -177,0 +186,0 @@ ------------------ |
@@ -8,2 +8,3 @@ CHANGELOG.rst | ||
| requirements-python37-rf32.nix | ||
| requirements-python37-rf40.nix | ||
| setup.cfg | ||
@@ -10,0 +11,0 @@ setup.nix |
@@ -277,3 +277,7 @@ # -*- coding: utf-8 -*- | ||
| # Reply error on error | ||
| if stats.total.critical.failed: | ||
| try: | ||
| failed = stats.total.critical.failed | ||
| except AttributeError: # >= RF 40 | ||
| failed = stats.total.failed | ||
| if failed: | ||
| if not silent: | ||
@@ -329,3 +333,7 @@ kernel.send_error( | ||
| # Reply ok on pass | ||
| if stats.total.critical.failed: | ||
| try: | ||
| failed = stats.total.critical.failed | ||
| except AttributeError: # >= RF 40 | ||
| failed = stats.total.failed | ||
| if failed: | ||
| return { | ||
@@ -332,0 +340,0 @@ "status": "error", |
@@ -14,3 +14,2 @@ # -*- coding: utf-8 -*- | ||
| from pygments.lexers import get_lexer_by_name | ||
| from robot.libdocpkg.htmlwriter import DocToHtml | ||
| from robotkernel.constants import HAS_RF32_PARSER | ||
@@ -24,2 +23,8 @@ import base64 | ||
| try: | ||
| from robot.libdocpkg.htmlutils import DocToHtml | ||
| except ImportError: # < RF40 | ||
| from robot.libdocpkg.htmlwriter import DocToHtml | ||
| if HAS_RF32_PARSER: | ||
@@ -122,4 +127,14 @@ | ||
| if keyword.args: | ||
| title += " " + ", ".join(keyword.args) | ||
| title_html += " " + ", ".join(keyword.args) | ||
| try: | ||
| title += " " + ", ".join(keyword.args) | ||
| title_html += " " + ", ".join(keyword.args) | ||
| except TypeError: # RF >= 4.0 | ||
| # TODO: Include default values and typing | ||
| args = ( | ||
| keyword.args.positional_only | ||
| + keyword.args.named_only | ||
| + keyword.args.positional_or_named | ||
| ) | ||
| title += " " + ", ".join(args) | ||
| title_html += " " + ", ".join(args) | ||
| body = "" | ||
@@ -126,0 +141,0 @@ if keyword.doc: |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
27438263
0.29%108
0.93%3635
0.58%