def check(self):
    cache_files = self.glob('**/*.cache')
    if (not cache_files):
        return
    for path in cache_files:
        with self.file_context(path):
            self.fail("'.cache' file is redundant and created by ST automatically")
def check(self):
    cache_files = self.glob('**/*.cache')
    if (not cache_files):
        return
    for path in cache_files:
        with self.file_context(path):
            self.fail("'.cache' file is redundant and created by ST automatically")