Commit Graph

8 Commits

Author SHA1 Message Date
Geoffrey Thomas 2afd663bf4
Document how to handle class variables/constants in typed syntax (#1352)
* Document how to handle class variables/constants in typed syntax

This is mentioned very briefly in the API docs for `auto_attrib` but
it's not easy to find if you don't already know about `typing.ClassVar`.

* Fix typo

* 2 empty lines before headers

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2024-09-23 04:24:03 +00:00
Hynek Schlawack a518d9ddfe
docs: make more examplar 2024-07-15 11:27:08 +02:00
Hynek Schlawack 4c2b9e31bc
docs: add two warning about no-types mode
Fixes #1161
2023-12-29 16:30:21 +01:00
Hynek Schlawack 2b3a427147
Fix pyright for 1.1.311 (#1138)
They support converters now!
2023-06-03 12:12:03 +02:00
Hynek Schlawack a6778cf7aa
Remove outdated skip & version mention 2023-05-22 07:46:02 +02:00
Hynek Schlawack dadc020597
Fix links broken by pyright removing their transform spec 2023-04-16 12:15:50 +02:00
Hynek Schlawack 519423d94a
Use MyST-native doctest blocks in all MD 2022-12-20 10:46:32 +01:00
Hynek Schlawack 2aff38afc4
Convert types.rst to md 2022-12-20 07:49:00 +01:00