KotlinIsland
KotlinIsland
Mypy is very flexible around what needs to have annotations / what is checked. Everything is entirely optional and confurable down to the individual module. Tbh in my projects that...
When a decorator isn't typed the signature of the original function becomes dynamic(basically completely uncheckd), there is a mypy rule relating to this https://mypy.readthedocs.io/en/stable/config_file.html#confval-disallow_any_decorated. ```py @untyped_decorator def foo(a: int) ->...
```py @overload def keyword(name: Fn) -> Fn: ... @overload def keyword(name: str = None, tags: List[str] = ..., types: _Types = ...) -> Callable[[Fn], Fn]: ... @not_keyword def keyword(name: object...
@pekkaklarck If you think type annotations look gross they could be implemented as separate `pyi` stubs, I think sellib does it that way. Or they could be added to TypeShed.
While debugging python code PyCharm has a 'breakpoint on uncaught exception' feature. Robot captures all exceptions, so when debugging a keyword that is implemented in python any exception will not...
I have managed to hack around in robot to bubble up the exception with original traceback in tact and re-raise it in `robot.utils.application.Application._execute` and this works the way I want,...
@pekkaklarck I made a pr with some crude hacks to demonstrate the functionality.
I think this is out of scope for robotframework. I'll raise it on rflint and see what they think.
@pekkaklarck Overloaded functions can now be introspected at runtime with [`typing.get_overloads`](https://docs.python.org/3.11/library/typing.html#typing.get_overloads)
If anything writes to the the console if screws up the output: ```robot *** Test Cases *** Test1 [Documentation] some doc log hi ``` ``` ============================================================================== Suite ============================================================================== Test1 ::...