There was an error while loading. Please reload this page.
1 parent e82c1e7 commit df919e6Copy full SHA for df919e6
1 file changed
pre_commit/color.py
@@ -48,7 +48,7 @@ def use_color(setting):
48
if setting not in COLOR_CHOICES:
49
raise InvalidColorSetting(setting)
50
51
- if 'NO_COLOR' in os.environ and os.environ['NO_COLOR']:
+ if 'NO_COLOR' in os.environ:
52
return False
53
54
return (
0 commit comments