Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str Str TupleLoad TupleLoad Str NameLoad NameLoad Call AttributeLoad Str attr NameLoad TupleLoad Str NameLoad NameLoad Str FunctionDef arguments args defaults body Assert CompareIs Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareIs Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Assert CompareIs Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Assert CompareIs Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str decorator_list
N/A __future__ unicode_literals N/A sys N/A mock N/A pytest pre_commit.color format_color pre_commit.color GREEN pre_commit.color InvalidColorSetting pre_commit.color use_color test_format_color N/A N/A in_text in_color in_use_color expected N/A N/A N/A ret N/A format_color in_text in_color in_use_color N/A N/A ret expected N/A N/A N/A N/A pytest mark parametrize N/A in_text in_color in_use_color expected N/A N/A foo GREEN True N/A N/A {0}foo[0m format GREEN N/A foo GREEN False foo test_use_color_never N/A N/A N/A N/A N/A N/A N/A use_color never False N/A test_use_color_always N/A N/A N/A N/A N/A N/A N/A use_color always True N/A test_use_color_no_tty N/A N/A N/A N/A N/A N/A N/A N/A mock patch object N/A sys stdout isatty return_value False N/A N/A N/A N/A use_color auto False N/A test_use_color_tty N/A N/A N/A N/A N/A N/A N/A N/A mock patch object N/A sys stdout isatty return_value True N/A N/A N/A N/A use_color auto True N/A test_use_color_raises_if_given_shenanigans N/A N/A N/A N/A N/A N/A N/A pytest raises InvalidColorSetting N/A N/A N/A use_color herpaderp N/A