8068ca0350
- update to 3.5.2: * Preserve type information from docstrings if no type annotation is present and parameter has default value. - update to 3.5.1: * Declare 3.14 support - update to 3.5.0: * Support Union type on its own - update to 3.4.0: * Python 3.14 support - update to 3.3.0: * Warning types and subtypes - update to 3.2.0: * Fixed broken changelog link * Fix issue #481 * Don't add :rtype: None * Place rtype after directive - Replace docutils private API use w/ public
Dirk Mueller2025-11-10 08:08:59 +00:00
25562bf16f
- Update to 3.1.0: - Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does - Update to 3.0.1: - Fix roles for types module - Update Ruff to 0.9.1 - Update to 3.0.0: - 🐛 Replace docutils private API use w/ public - Drop support for nptyping - Update to 2.5.0: - Fix the type checker - Apply typehints_formatter to signature
Matej Cepl2025-04-03 12:58:40 +00:00
2dc2a23cff
Accepting request 1218927 from devel:languages:python
Ana Guerrero2024-10-29 13:34:52 +00:00
555de69fb6
- Remove python-nptyping BuildRequirement for SLFO:Main
Daniel Garcia2024-10-28 13:03:33 +00:00
3a0d278096
Accepting request 1202593 from devel:languages:python
Ana Guerrero2024-09-24 15:31:45 +00:00
1feadc49d7
- update to 2.4.4: * Fix placement of return type when there is a doctest * README and CI fixes
Dirk Mueller2024-09-23 09:27:32 +00:00
a0eba4f83e
Accepting request 1199458 from devel:languages:python
Ana Guerrero2024-09-09 12:44:34 +00:00
66a6ca619d
- update to 2.4.0: * Drop 3.9 support * Add 3.13 support - update to 2.3.0: * Add module name rewrite configuration option - update to 2.2.3: * Fix mypy errors due to unneeded type ignores * Fix rendering when docstring starst with a directive
Dirk Mueller2024-09-08 13:21:35 +00:00
2b7689169f
Accepting request 1183919 from devel:languages:python
Ana Guerrero2024-07-03 18:30:02 +00:00
c0de5a2303
- update to 2.2.2: * Fix for Issue #384: typehints_defaults = "braces-after" fails for a multiline :param: entry * Support autodoc_type_aliases configuration * Support Sphinx 7.3 and drop 3.8 support * Return injection fix * Add option to force unions (and options) to be rendered with bars
Dirk Mueller2024-06-29 05:38:25 +00:00
b0677940fb
Accepting request 1143500 from devel:languages:python
Ana Guerrero2024-02-02 14:47:06 +00:00
c802b7a700
Accepting request 1140272 from devel:languages:python
Ana Guerrero2024-01-21 22:09:57 +00:00
11e9016533
- update to 1.25.2: * Allow Sphinx explicitly to write in parallel. * Fixed crash when documenting ParamSpecArgs * Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument type would be rendered incorrectly (issue 308) * Fixed napoleon handling of numpy docstrings with no specified return type. * Fix a Field list ends without a blank line warning (issue 305). * More robust determination of rtype location / fix issue 302 * Improvements to the location of the return type * Use format_annotation to render class attribute type annotations * Fix overloads support * Fix spacing between :rtype: and directives * Handle types from types module * If module is \_io, use io instead * Put rtype before examples or usage section * Remove redundant return type for attributes * Handle collections.abc.Callable as well as typing.Callable * Put Literal args in code blocks * Fix Optional role to be data. * Fixed default options not displaying for parameters without type hints. * Use hatchling instead of setuptools * Add support for typing.ParamSpec * Allow star prefixes for parameter names in docstring - Update to version 1.19.2 python-sphinx-autodoc-typehints-system-object.inv.patch
Dirk Mueller2024-01-14 10:22:38 +00:00
1a76b25efa
Accepting request 1099932 from devel:languages:python
Ana Guerrero2023-07-24 16:26:11 +00:00
11b7716f72
Accepting request 1099902 from home:ojkastl_buildservice:Branch_devel_languages_python
Matej Cepl2023-07-21 16:10:02 +00:00
932d03e072
Accepting request 1008878 from devel:languages:python
Richard Brown2022-10-07 23:26:16 +00:00
78bb76820f
- Remove no-net-tests.patch as adding the fixed python-sphinx-autodoc-typehints-system-object.inv.patch makes tests requiring network working (gh#agronholm/sphinx-autodoc-typehints#174). - Add no-net-tests.patch which marks tests requiring network
Matej Cepl2021-04-24 14:12:45 +00:00
8b8a7243f8
- Readd fixed python-sphinx-autodoc-typehints-system-object.inv.patch which makes tests requiring network working
Matej Cepl2021-04-23 16:21:14 +00:00
96d010c0f2
- Add no-net-tests.patch which marks tests requiring network (gh#agronholm/sphinx-autodoc-typehints#174).
Matej Cepl2021-04-23 14:24:54 +00:00
2e49cccc20
- update to 1.11.0: * Dropped support for Sphinx < 3.0 * Added support for alternative parameter names (`arg, argument, parameter) * Fixed import path for Signature (PR by Matthew Treinish) * Fixed TypeError when formatting a parametrized typing.IO annotation * Fixed data class displaying a return type in its __init__()` method
Dirk Mueller2020-09-23 13:42:57 +00:00
1b523451b8
Accepting request 782143 from home:pgajdos:python
Tomáš Chvátal
2020-03-09 08:51:39 +00:00
0c987f4f15
Accepting request 731298 from devel:languages:python
Yuchen Lin2019-09-17 11:39:12 +00:00
657748ea33
- Update to 1.8.0: * Fixed regression which caused TypeError or OSError when trying to set annotations due to PR #87 * Fixed unintentional mangling of annotation type names * Added proper :py:data targets for NoReturn, ClassVar and Tuple * Added support for inline type comments (like (int, str) -> None) (PR by Bernát Gábor) * Use the native AST parser for type comment support on Python 3.8+
Tomáš Chvátal
2019-09-16 13:39:29 +00:00
052fcc22a2
- Update to 1.7.0: * Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka) * Fixed AttributeError when documenting the __init__() method of a data class * Added support for type hint comments (PR by Markus Unterwaditzer) * Added flag for rendering classes with their fully qualified names (PR by Holly Becker) - Remove merged patch sphinx21.patch
Tomáš Chvátal
2019-09-10 10:06:41 +00:00