Michael Carlstrom

Results 68 issues of Michael Carlstrom

Fixes #17394 (Explain how this PR changes mypy.) Updates stubdoc is_valid_type regex.

**Bug Report** Trying to infer types from docstrings with python3.12 inline generics fails to generate. **To Reproduce** ```python from mypy.stubdoc import infer_sig_from_docstring infer_sig_from_docstring('\nfunc[T, V](x: T, y: V) -> T', 'func')...

bug
topic-stubgen
topic-pep-695

**Bug Report** Using pybind11 v2.12.0 allows adding typing annotations for things. And it works great for most types but fails to properly parse the tuple special cases and so the...

bug
topic-stubgen

## Description Switches to using `numpy.typing.NDArray` for typing annotations over `numpy.ndarray`. This is because `numpy.ndarray` is implemented with the first argument for some future size annotation. See https://github.com/numpy/numpy/issues/16544. Since the...

### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...

triage

Currently https://github.com/ros2/launch/pull/781 is failing because it cannot find `types-pyyaml` this dependency was added to rosdep here https://github.com/ros/rosdistro/pull/40651. I could be mistaken but, I believe the proper course of action is...

Using an `@overload` to make type more narrow.

Makes publisher.py type complete.

I notice yaml was given a `#type: ignore` but that is no longer necessary with `python3-types-pyaml`

Adds Python type annotations to cv_bridge package.