danieleades
b48d6f5f74
add type stubs for 'docutils.parsers.rst.directives.references' ( #12442 )
2024-09-06 15:09:33 -07:00
danieleades
ab748d34f0
Add type annotations for 'docutils.writers.latex2e.Babel' ( #12394 )
2024-07-23 13:56:38 +02:00
danieleades
08f89019c6
Add docutils.utils.roman ( #12393 )
2024-07-23 13:39:50 +02:00
M Bussonnier
b17ed95818
Docutils: wrong type: SystemMessage vs system_message ( #12314 )
2024-07-10 17:50:52 +02:00
danieleades
694c982b4f
improve type annotations in 'docutils.parsers.rst.states' ( #11545 )
2024-07-09 14:00:57 +02:00
danieleades
5305de8327
remove generic 'context' from 'docutils.parsers.rst.RSTState' ( #12291 )
2024-07-07 11:49:44 +02:00
Adam Dangoor
ea34c97ccc
Expand docutils.parsters.rst.states ( #12226 )
2024-07-03 14:23:56 +02:00
Avasam
ae5c45b983
Bump docutils to 0.21.* ( #11805 )
2024-04-22 14:58:21 +02:00
Stephen Finucane
711958977f
docutils: Correct 'parsers.rst.directives.format_values' ( #11719 )
2024-04-05 18:47:03 +02:00
Sebastian Rittau
33de88879f
Remove bare Incomplete annotations in third-party stubs ( #11671 )
2024-03-30 18:34:51 -07:00
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