mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
parent
26e60fa333
commit
b81c9802ae
28 changed files with 58 additions and 58 deletions
|
|
@ -24,7 +24,7 @@ def format_color(text, color, use_color_setting):
|
|||
if not use_color_setting:
|
||||
return text
|
||||
else:
|
||||
return u'{0}{1}{2}'.format(color, text, NORMAL)
|
||||
return '{}{}{}'.format(color, text, NORMAL)
|
||||
|
||||
|
||||
COLOR_CHOICES = ('auto', 'always', 'never')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue