code: def finalize_options(self):  # suppress(unused-function)
          
          for option in ["suppress-codes", "exclusions", "disable-linters"]:
              attribute = option.replace("-", "_")
              if isinstance(getattr(self, attribute), str):
                  setattr(self, attribute, getattr(self, attribute).split(","))
  
              if not isinstance(getattr(self, attribute), list):
                  raise DistutilsArgError("""--{0} must be """
                                          """a list""".format(option))
  
          if not isinstance(self.cache_directory, str):
              raise DistutilsArgError("""--cache-directory=CACHE """
                                      """must be a string""")
  
          if not isinstance(self.stamp_directory, str):
              raise DistutilsArgError("""--stamp-directory=STAMP """
                                      """must be a string""")
  
          if not isinstance(self.stamp_directory, str):
              raise DistutilsArgError("""--stamp-directory=STAMP """
                                      """must be a string""")
  
          if not isinstance(self.show_lint_files, int):
              raise DistutilsArgError("""--show-lint-files must be a int""")
  
          self.cache_directory = _get_cache_dir(self.cache_directory)
docs: Finalize all options.