          if self.args.job == "draw":
              job = Draw(self.alignments, self.args)
          elif self.args.job == "extract":
              job = Extract(self.alignments, self.args)
          elif self.args.job in("missing-alignments", "missing-frames", "leftover-faces",
                                "multi-faces", "no-faces"):
              job = Check(self.alignments, self.args)
          elif self.args.job == "remove":
              job = RemoveAlignments(self.alignments, self.args)
          elif self.args.job == "reformat":
              job = self.alignments
 
</s> remove         elif hasattr(arguments, "frames_dir"):
 </s> add         elif hasattr(arguments, "frames_dir") and arguments.frames_dir: </s> remove         if hasattr(arguments, "faces_dir"):
 </s> add         if hasattr(arguments, "faces_dir") and arguments.faces_dir: </s> remove         elif self.type == "faces" and self.job != "multi-faces" and self.job != "leftover-faces":
            print("WARNING: The selected folder is not valid. Only folder set "
                  "with '-fc' is supported for 'multi-faces' and 'leftover-faces'")
 </s> add         elif self.type == "faces" and self.job not in ("multi-faces",
                                                       "leftover-faces"):
            print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'") </s> remove             
        print("Done")
 </s> add  </s> remove                                           "missing-frames", "leftover-faces", "multi-faces",
                                          "no-faces", "reformat", "remove"),
 </s> add                                           "missing-frames", "leftover-faces",
                                          "multi-faces", "no-faces",
                                          "reformat", "remove"),
        elif self.args.job in("missing-alignments", "missing-frames",
                              "multi-faces", "leftover-faces",
                              "no-faces"):
          if self.args.job == "draw":
              job = Draw(self.alignments, self.args)
          elif self.args.job == "extract":
              job = Extract(self.alignments, self.args)
        elif self.args.job in("missing-alignments", "missing-frames",
                              "multi-faces", "leftover-faces",
                              "no-faces"):
        elif self.args.job in("missing-alignments", "missing-frames",
                              "multi-faces", "leftover-faces",
                              "no-faces"):
              job = Check(self.alignments, self.args)
          elif self.args.job == "remove":
              job = RemoveAlignments(self.alignments, self.args)
          elif self.args.job == "reformat":
              job = self.alignments
keep keep keep keep replace replace keep keep keep keep keep
 Alignments Tool - Fix nonetype bug + linting (#484)

* Fix folder nonetype bug and linting 
tools/alignments.py