

def should_ignore_file(self, path):
    project = DartProject.from_path(path)
    is_a_third_party_file = (project and is_path_under(project.path_to_packages, path))
    if is_a_third_party_file:
        return True
    sdk = SDK()
    return is_path_under(sdk.path, path)

dataset/ETHPy150Open guillermooo/dart-sublime-bundle/lib/analyzer/analyzer.py AnalysisServer.should_ignore_file/original