def check(self):
    cache_files = self.glob('**/*.sublime-workspace')
    if (not cache_files):
        return
    for path in cache_files:
        with self.file_context(path):
            self.fail("'.sublime-workspace' files contain session data and should never be submitted to version control")
def check(self):
    cache_files = self.glob('**/*.sublime-workspace')
    if (not cache_files):
        return
    for path in cache_files:
        with self.file_context(path):
            self.fail("'.sublime-workspace' files contain session data and should never be submitted to version control")