HHousen / TransformerSum

Cell variable defined in loop PYL-W0640
Bug risk
Major
3 years ago3 years old
Cell variable completed_files defined in loop
 563                        doc = os.path.splitext(os.path.basename(doc))[0]
 564
 565                        # remove the document if it was already processed
 566                        if doc in completed_files: 567                            return False  # remove
 568                        return True  # keep
 569