When running ty check in the PyCharm console on Windows, the first line ("WARN ty is pre-release ...") is not properly formatted, but contains ANSI escape codes: PS> ty check ?[1;33mWARN?[0m ty is pre ...