This commit is contained in:
FamousPond 2024-07-03 08:52:22 +03:00 committed by GitHub
commit 16c1d07465
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -193,6 +193,7 @@ Jake VanderPlas
Jakob van Santen
Jakub Mitoraj
James Bourbeau
James Hutchins
James Frost
Jan Balster
Janne Vanhala

View File

@ -0,0 +1,7 @@
Improved the terminal writer to be able to use pygments Terminal256Formatter and TerminalTrueColorFormatter.
These can be set by the user with the environmental variable PYTEST_THEME.
There is also a default format set with both a light and dark mode which can be changed with the environmental variable PYTEST_THEME_MODE.
If no environmental variables are set it defaults to dark mode.