Update dependency Pygments to v2.18.0 #207
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.17.2
->==2.18.0
Release Notes
pygments/pygments (Pygments)
v2.18.0
Compare Source
(released May 4th, 2024)
New lexers:
Android.bp
(#2659)Updated lexers:
openrc
alias (#2599, #2371)fewer tokens on heading comments (#2678)
uninstantiation
keyword and recognizeescape sequences (#2619)
None
/True
/False
Token.Comment
for comments instead ofComment.Preproc
(#2598):
,::
and->
asPunctuation
and whitespace as
Whitespace
, instead ofText
in both cases (#2631)
strings (#2624)
<?doc?>
and<?note?>
tags (#2597)kk-*
invariant_langs
(#2647)val
andvar
(#2602)New styles:
Make background colors in the image formatter work with Pillow 10.0 (#2623)
Require Python 3.8. As a result, the
importlib-metadata
packageis no longer needed for fast plugin discovery on Python 3.7.
The
plugins
extra (used as, e.g.,pip install pygments[plugins]
)is kept for backwards compatibility but now has no effect. (#2601)
Require the
url
attribute for lexers inside Pygments, addit to many lexers (#2588)
Replace Pyflakes linter with Ruff (#2592)
Add macOS CI (#2594)
Built-in lexers now declare the version of Pygments in which they were
added in a required
version_added
lexer attribute, instead of a.. versionadded::
directive in the docstring (#2589, #2634)The
url
attribute is now required for built-in lexers andhas been added to all existing lexers (#2588)
The RTF formatter supports line number and line highlighting now (#1217, #2654)
Add
\sa0
keyword in the RTF formatter (#1111, #2607)Register
pycon
as an alias for the Python console lexer (#2697)Add MIME-Type for
DesktopLexer
(#2613)Fix native style to meet WCAG AA guidelines (#2600)
Fix typo in documentation (#2672)
Use format strings consistently (#2661)
Add
__class_getitem__
toFormatter
to improve typing support (#2665)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.