Adam Dangoor
9d2f651818
Add annotations to docutils.parsers.rst.directives.parts ( #11667 )
2024-03-30 09:10:41 +01:00
danieleades
fa9dc6dd69
improve type annotations in 'docutils.nodes.Element' ( #11539 )
2024-03-16 17:08:00 +01:00
danieleades
a35b769410
improve type annotations in 'docutils.utils.Reporter' ( #11521 )
2024-03-15 13:25:10 +01:00
danieleades
5b84210a62
improve type annotations in 'docutils.parsers.rst.directives' ( #11597 )
2024-03-14 13:57:18 +01:00
danieleades
a1bfd65e9f
improve type annotations in 'docutils.statemachine' ( #11469 )
2024-03-13 19:10:40 +01:00
danieleades
15536bd391
improve type annotations in 'docutils.parsers.rst.directives.misc' ( #11524 )
...
Co-authored-by: daniel.eades <daniel.eades@seebyte.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-03-13 06:44:58 -07:00
Shantanu
88fa182253
Use PEP 570 syntax in third party stubs ( #11554 )
2024-03-10 14:11:43 +01:00
Tony Narlock
96e62dd757
docutils: Use ClassVar for Directive class variables (#11550 )
...
These are intended to be set as class variables, in subclasses of Directive, rather
than instance variables.
See also:
- https://docutils.sourceforge.io/docs/howto/rst-directives.html#the-directive-class
- https://docutils.sourceforge.io/docs/howto/rst-directives.html#admonitions
2024-03-09 14:28:35 -08:00
danieleades
f1cc14eeaf
improve type annotations in 'docutils.io.Input' ( #11540 )
2024-03-09 17:00:17 +01:00
danieleades
a4b70db88f
improve type annotations in 'docutils.utils' ( #11526 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-03-08 07:52:21 -08:00
danieleades
3646f644b8
Improve type annotations in 'docutils.parsers.rst' ( #11523 )
2024-03-08 15:14:00 +01:00
danieleades
67176a41e6
improve type annotations in 'docutils.parsers.rst.tableparser' ( #11530 )
...
Co-authored-by: daniel.eades <daniel.eades@seebyte.com >
2024-03-07 18:06:42 -08:00
danieleades
1c40e64611
improve type annotations in 'docutils.parsers.rst.states.Inliner' ( #11473 )
2024-03-03 07:13:22 -08:00
danieleades
23daf97ab3
improve type annotations in 'docutils.readers.doctree' ( #11492 )
2024-03-02 06:47:21 -08:00
danieleades
256dd720ce
improve type annotations in 'docutils.parsers.rst.roles' ( #11481 )
...
Co-authored-by: daniel.eades <daniel.eades@seebyte.com >
2024-03-01 23:16:14 -08:00
danieleades
2fc0299068
improve type annotations in 'docutils.readers' ( #11490 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-03-01 06:44:47 -08:00
danieleades
d3d5f8121b
Improve type annotations in 'docutils.node.document' ( #11468 )
2024-02-26 12:50:08 +01:00
Philipp A
8018337109
[docutils] Add remaining node classes and functions ( #11255 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-01-30 19:14:05 -08:00
Adam Dangoor
26452a7c68
Add docutils.nodes.system_message and .BackLinkable
...
Add stubs for docutils.nodes.system_message and docutils.nodes.BackLinkable
2024-01-25 11:27:10 +01:00
Adam Dangoor
ce45bc3a1c
Ad docutils.nodes.raw and docutils.nodes.Inline ( #11312 )
2024-01-25 11:25:38 +01:00
Adam Dangoor
289c3f79b0
Add type stubs for docutils.nodes.literal_block and docutils.nodes.Fi… ( #11308 )
2024-01-24 15:36:18 +01:00
Adam Dangoor
b96d40a16c
Add substitution_defs to docutils.nodes.document ( #11307 )
2024-01-24 15:21:53 +01:00
Sebastian Rittau
b6eaadcfe5
Update typing_extensions imports in third-party stubs ( #11245 )
2024-01-05 15:40:13 +01:00
Mateusz Bysiek
7a7dba5e7a
Docutils frontend fix ( #10569 )
2023-08-16 09:35:53 +02:00
Avasam
22b055a147
Fill in all missing upstream_repository fields ( #10571 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-08-13 22:03:33 +01:00
Avasam
db0149859c
Add partial_stub metadata field ( #10157 )
2023-05-10 17:04:18 +02:00
Nikita Sobolev
adddc4f24a
Bump docutils to 0.20.* ( #10167 )
2023-05-10 12:40:27 +03:00
danieleades
6b5ca0b238
[docutils] Add items to docutils.node ( #10102 )
...
* Add class paragraph
* Add class TextElement
* Add Element.index(), .remove(), and .insert()
2023-05-03 12:45:08 +02:00
Jelle Zijlstra
0f270e61bf
docutils: Input can take bytearray ( #10108 )
...
Part of #9006
2023-04-29 16:09:14 +01:00
danieleades
9772c425a2
docutils: add nodes.General; make Element iterable ( #10099 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-29 15:43:39 +01:00
Alex Waygood
b9fedd20ce
Add defaults for third-party stubs A-D ( #9952 )
2023-03-27 16:49:58 +01:00
Avasam
078c6a0958
Update Unused parameters in stubs/ ( #9704 )
...
* Update _Unused TypeAlias
* Update `object | None` params
* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
Nikita Sobolev
f7cb7f33b2
Use OSError instead of IOError ( #9683 )
2023-02-06 18:56:32 +00:00
Alex Waygood
4fea314594
Replace Any with Incomplete in many places ( #9558 )
2023-01-18 08:48:16 +00:00
Nikita Sobolev
ce4668a132
Use Incomplete instead of Any in __getattr__ ( #8903 )
2022-10-15 18:54:21 +01:00
Amethyst Reese
b4d91054e3
Add missing attributes for docutils.io ( #8716 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-09-11 14:53:13 +01:00
Shantanu
ee09a67c5c
[stubsabot] Bump docutils to 0.19.* ( #8260 )
2022-07-08 20:55:22 +01:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Martin Fischer
98d9ed44cd
docutils: complete nodes.Node & bump version to 0.18.* ( #7380 )
2022-02-28 17:59:56 +01:00
Martin Fischer
a342a49d38
docutils: Add missing dunders to nodes.Element ( #7377 )
2022-02-24 11:46:05 +01:00
Martin Fischer
a287cfd925
Improve docutils stubs ( #7256 )
2022-02-20 16:49:11 -08:00
Alex Waygood
26e8959279
Use _typeshed.Self in docutils.VersionInfo and os.sched_param ( #7117 )
2022-02-02 23:30:39 +01:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Sam Martin
a2bc47a682
docutils - added missing stubs for __init__ methods ( #5924 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-08-14 20:35:02 +03:00