Skip to content

Commit

Permalink
rebase on readers.standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed Dec 28, 2024
1 parent ca584ba commit af827f5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions stubs/docutils/docutils/readers/pep.pyi
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
__docformat__: str

from typing import Any, ClassVar, Literal
from typing import ClassVar, Literal, TypeVar

from docutils.parsers import Parser
from docutils.parsers.rst.states import Inliner
from docutils.readers import standalone
from docutils.transforms import Transform

class Reader(standalone.Reader):
_S = TypeVar("_S")

supported: ClassVar[tuple[Literal["pep"]]]
class Reader(standalone.Reader[_S]):

settings_spec: ClassVar[tuple[Any, ...]]
supported: ClassVar[tuple[Literal["pep"]]]

config_section: ClassVar[str]
config_section: ClassVar[Literal['pep reader']]
config_section_dependencies: ClassVar[tuple[Literal['readers'], Literal['standalone reader']]]

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

settings_default_overrides: ClassVar[dict[str, int]]

inliner_class: ClassVar[type[Inliner]]
Expand Down

0 comments on commit af827f5

Please sign in to comment.