You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Support NO_COLOR environment variable in doc_status.py
This commit is contained in:
@@ -9,6 +9,7 @@ from typing import Final
|
||||
# to a file, it won't contain color codes. Colors are always enabled on continuous integration.
|
||||
|
||||
IS_CI: Final[bool] = bool(os.environ.get("CI"))
|
||||
NO_COLOR: Final[bool] = bool(os.environ.get("NO_COLOR"))
|
||||
STDOUT_TTY: Final[bool] = bool(sys.stdout.isatty())
|
||||
STDERR_TTY: Final[bool] = bool(sys.stderr.isatty())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user