Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad body For NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad body If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Expr Call NameLoad BinOpAdd NameLoad Str Continue Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword ListLoad Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore CompareIn Str NameLoad Assign NameStore ListComp BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension NameStore Call AttributeLoad Call AttributeLoad Str attr NameLoad attr Str For NameStore NameLoad body If Call NameLoad GeneratorExp CompareIn NameLoad SubscriptLoad NameLoad Slice Num comprehension NameStore Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If NameLoad body For NameStore NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BoolOpOr NameLoad CompareIn NameLoad NameLoad Return Num orelse Return Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A __future__ print_function N/A argparse N/A fileinput N/A os N/A sys pre_commit_hooks.util cmd_output _fix_file N/A N/A filename markdown N/A False N/A N/A line N/A N/A fileinput input N/A filename inplace True N/A N/A N/A markdown N/A N/A N/A line isspace N/A N/A line endswith N/A N/A line N/A N/A line rstrip N/A N/A N/A N/A N/A line N/A -1 isspace N/A N/A N/A print N/A line N/A N/A N/A print N/A N/A line rstrip N/A fix_trailing_whitespace N/A N/A argv N/A None N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument --no-markdown-linebreak-ext action store_const const N/A default N/A argparse SUPPRESS dest markdown_linebreak_ext help Do not preserve linebreak spaces in Markdown N/A N/A N/A parser add_argument --markdown-linebreak-ext action append const default N/A md,markdown metavar *|EXT[,EXT,...] nargs ? help Markdown extensions (or *) for linebreak spaces N/A N/A N/A parser add_argument filenames nargs * help Filenames to fix N/A args N/A N/A parser parse_args argv N/A bad_whitespace_files N/A N/A N/A N/A N/A cmd_output grep -l [[:space:]]$ retcode None N/A args filenames strip splitlines N/A md_args N/A args markdown_linebreak_ext N/A N/A md_args N/A N/A N/A N/A parser error --markdown-linebreak-ext requires a non-empty argument N/A all_markdown N/A * md_args N/A md_exts N/A N/A . N/A N/A N/A N/A x lower lstrip . N/A x N/A N/A N/A N/A , join md_args split , N/A ext md_exts N/A N/A N/A any N/A N/A c N/A ext N/A 1 N/A c ./\: N/A N/A N/A N/A parser error N/A N/A bad --markdown-linebreak-ext extension '{0}' (has . / \ :)
  (probably filename; use '--markdown-linebreak-ext=EXT') format ext N/A bad_whitespace_files N/A N/A bad_whitespace_file bad_whitespace_files N/A N/A N/A print N/A N/A Fixing {0} format bad_whitespace_file N/A N/A _ extension N/A N/A N/A os path splitext N/A N/A bad_whitespace_file lower N/A N/A _fix_file bad_whitespace_file N/A all_markdown N/A extension md_exts N/A 1 N/A N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A fix_trailing_whitespace