Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve type annotations in 'docutils.readers.pep' #13320

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fixup
danieleades committed Dec 28, 2024
commit 18f8cc408fdf5be21b04efab44e49677613ea9a7
4 changes: 2 additions & 2 deletions stubs/docutils/docutils/readers/pep.pyi
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ from docutils.transforms import Transform

class Reader(standalone.Reader):

supported: ClassVar[tuple[str]] = ("pep",)
supported: ClassVar[tuple[Literal["pep"]]]

settings_spec: ClassVar[tuple[Any, ...]]

@@ -18,7 +18,7 @@ class Reader(standalone.Reader):

def get_transforms(self) -> list[type[Transform]]: ...

settings_default_overrides = {"pep_references": 1, "rfc_references": 1}
settings_default_overrides: ClassVar[dict[str, int]]

inliner_class: ClassVar[type[Inliner]]