[stubsabot] Bump Pygments to 2.16.* (#10536)

Release: https://pypi.org/pypi/Pygments/2.16.1
Homepage: https://pygments.org
Repository: https://github.com/pygments/pygments
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES
Diff: https://github.com/pygments/pygments/compare/2.15.1...2.16.1

Stubsabot analysis of the diff between the two releases:
 - 12 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `pygments/__init__.py`, `pygments/formatters/img.py`, `pygments/lexer.py`, `pygments/sphinxext.py`, `pygments/styles/__init__.py`, `pygments/token.py`.
 - Total lines of Python code added: 2942.
 - Total lines of Python code deleted: 477.

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
github-actions[bot]
2023-08-07 01:37:37 +01:00
committed by GitHub
parent 3968308e74
commit e787a88f59
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
version = "2.15.*"
version = "2.16.*"
upstream_repository = "https://github.com/pygments/pygments"
requires = ["types-docutils", "types-setuptools"]
partial_stub = true

View File

@@ -12,10 +12,12 @@ class FontManager:
font_size: Any
fonts: Any
encoding: Any
variable: bool
def __init__(self, font_name, font_size: int = 14) -> None: ...
def get_char_size(self): ...
def get_text_size(self, text): ...
def get_font(self, bold, oblique): ...
def get_style(self, style): ...
class ImageFormatter(Formatter[_T]):
name: str