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, [], [], ["*"])
      fixer_dir = os.path.dirname(pkg.__file__)
      fix_names = []
      for name in sorted(os.listdir(fixer_dir)):
          if name.startswith("fix_") and name.endswith(".py"):
              if remove_prefix:
                  name = name[4:]
              fix_names.append(name[:-3])
      return fix_names
function_tokens: def get_all_fix_names ( fixer_pkg , remove_prefix = True ) : pkg = __import__ ( fixer_pkg , [ ] , [ ] , [ "*" ] ) fixer_dir = os . path . dirname ( pkg . __file__ ) fix_names = [ ] for name in sorted ( os . listdir ( fixer_dir ) ) : if name . startswith ( "fix_" ) and name . endswith ( ".py" ) : if remove_prefix : name = name [ 4 : ] fix_names . append ( name [ : - 3 ] ) return fix_names