parameters: (fixer_pkg, remove_prefix=True)
return_statement: return fix_names
docstring: Return a sorted list of all available fix names in the given package.
docstring_summary: Return a sorted list of all available fix names in the given package.
docstring_tokens: Return a sorted list of all available fix names in the given package .
function: def get_all_fix_names(fixer_pkg, remove_prefix=True):
      """Return a sorted list of all available fix names in the given package."""
      pkg = __import__(fixer_pkg, [], [], ["*"])
      fix_names = []
      for finder, name, ispkg in pkgutil.iter_modules(pkg.__path__):
          if name.startswith("fix_"):
              if remove_prefix:
                  name = name[4:]
              fix_names.append(name)
      return fix_names
function_tokens: def get_all_fix_names ( fixer_pkg , remove_prefix = True ) : pkg = __import__ ( fixer_pkg , [ ] , [ ] , [ "*" ] ) fix_names = [ ] for finder , name , ispkg in pkgutil . iter_modules ( pkg . __path__ ) : if name . startswith ( "fix_" ) : if remove_prefix : name = name [ 4 : ] fix_names . append ( name ) return fix_names