fixes #2811: exit from bad utf-8 in check_sources by jofish920 · Pull Request #2812 · pygments/pygments
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 781
Merged
Anteru merged 2 commits intopygments:masterfrom
Jan 5, 2025Merged
Conversation
Copy link
Contributor
Came across a case where running tox -e check resulted in the script "test/check_sources.py" exiting due to an uncaught exception rather than reporting an error in the file being checked. This adds an exception handler almost identical to the one right above it that deals with unopenable files. Still an apparent problem with scanning files in ".venv".
Josef added 2 commits
November 13, 2024 16:32
Anteru
added this to the
2.19.0 milestone
Anteru
merged commit
fdf8e56
into
pygments:master
Copy link
Collaborator
Anteru
commented
Jan 5, 2025
Anteru commented
Jan 5, 2025Merged, thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment