Run isort --diff --color --check tools/schemacode
Sorry, but to use --color (color_output) the colorama python package is required.
Reference: https://pypi.org/project/colorama/
You can either install it separately on your system or as the colors extra for isort. Ex:
$ pip install isort[colors]
Error: Process completed with exit code 1.
From a CI job:
Resulting in:
Seems to be a result of #2207.