@classmethod<EOL><INDENT>def _ignore_path(cls, path, ignore_list=None, white_list=None):<DEDENT>
ignore_list = ignore_list or []<EOL>white_list = white_list or []<EOL>return (cls._matches_patterns(path, ignore_list) and<EOL>not cls._matches_patterns(path, white_list))<EOL>
Returns a whether a path should be ignored or not.