[stubsabot] Bump Pygments to 2.12.* (#8093)

Co-authored-by: hauntsaninja <>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Shantanu
2022-06-18 00:58:29 -07:00
committed by GitHub
parent b7af592718
commit 225c14c16f
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
version = "2.9.*"
version = "2.12.*"
requires = ["types-docutils", "types-setuptools"]

View File

@@ -37,5 +37,5 @@ class HtmlFormatter(Formatter[_T]):
def get_background_style_defs(self, arg: Any | None = ...): ...
def get_linenos_style_defs(self): ...
def get_css_prefix(self, arg): ...
def wrap(self, source, outfile): ...
def wrap(self, source): ...
def format_unencoded(self, tokensource, outfile) -> None: ...

View File

@@ -7,7 +7,7 @@ from pygments.lexer import Lexer, LexerMeta
_OpenFile: TypeAlias = StrOrBytesPath | int # copy/pasted from builtins.pyi
def get_all_lexers() -> Iterator[tuple[str, tuple[str, ...], tuple[str, ...], tuple[str, ...]]]: ...
def get_all_lexers(plugins: bool = ...) -> Iterator[tuple[str, tuple[str, ...], tuple[str, ...], tuple[str, ...]]]: ...
def find_lexer_class(name: str) -> LexerMeta | None: ...
def find_lexer_class_by_name(_alias: str) -> LexerMeta: ...
def get_lexer_by_name(_alias: str, **options: Any) -> Lexer: ...