-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds syntax highlighting to python compilation errors.
Summary: Adds syntax highlighting for error messages that occur during the compilation step in the Buck2 preludes. It also drops all parts of the stack trace that are not useful. If you still want the full stack trace you can use the `--debug` flag (intended primarily for PLF or folks working on the `compile.py` file itself). If you hate having colors, the env variable `NO_COLOR` (https://no-color.org/) will disable all colors. If you hate the colors I've chosen, please let me know a better color scheme. Reviewed By: zsol Differential Revision: D67802134 fbshipit-source-id: d1ad506ee02383252d894053cf8eceec1482a0b3
- Loading branch information
1 parent
8c48bb6
commit d46f395
Showing
1 changed file
with
79 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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