Module Import alias Import alias identifier ImportFrom alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign NameStore Dict Str Str Str Str Str Str Str Num Num Num Num Num Num Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str body For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpOr CompareGt NameLoad Num CompareGt NameLoad Num CompareGt NameLoad Num body Assign NameStore Num Print NameLoad Str With Call NameLoad keyword NameLoad NameStore body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Print Str orelse Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body If Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Print Str Expr Call AttributeLoad NameLoad attr Num
N/A N/A sys N/A tidylib tidy concurrent.futures ThreadPoolExecutor N/A os N/A N/A N/A jsbeautifier N/A N/A N/A ImportError N/A N/A Js Beautifier module not installed. N/A Run script install_jsbeautifier first. N/A N/A N/A sys exit 1 N/A N/A N/A cssutils N/A N/A N/A ImportError N/A N/A cssutils not installed. N/A N/A N/A sys exit 1 N/A N/A tidy BASE_OPTIONS N/A N/A tidy_options N/A indent wrap output-xhtml tidy-mark clean output-html char-encoding 1 0 0 0 0 1 utf8 Cleanify N/A N/A __init__ N/A N/A self directory N/A N/A N/A N/A self target directory N/A N/A self dirstats N/A N/A N/A self htmlfiles N/A N/A N/A self jsfiles N/A N/A N/A self cssfiles N/A N/A scan N/A N/A self N/A N/A N/A N/A N/A os chdir N/A self target N/A N/A root dirs files N/A N/A os walk ./ N/A N/A file files N/A N/A N/A N/A file endswith .html N/A N/A N/A N/A N/A self htmlfiles append N/A N/A N/A os path join root file N/A N/A N/A N/A file endswith .js N/A N/A N/A N/A N/A self jsfiles append N/A N/A N/A os path join root file N/A N/A N/A N/A file endswith .css N/A N/A N/A N/A N/A self cssfiles append N/A N/A N/A os path join root file N/A N/A N/A clean_html N/A N/A self htmlfile N/A N/A N/A N/A N/A reader N/A open htmlfile r N/A content N/A N/A reader read N/A N/A N/A reader close N/A N/A document errors N/A N/A tidy tidy_document content options tidy_options N/A document N/A N/A writer N/A open htmlfile w N/A N/A N/A writer write document N/A N/A N/A writer close N/A Cleaned htmlfile N/A N/A N/A Exception N/A e N/A N/A e N/A clean_js N/A N/A self jsfile N/A N/A N/A N/A N/A res N/A N/A jsbeautifier beautify_file jsfile N/A res N/A N/A fileWriter N/A open jsfile w N/A N/A N/A fileWriter write res N/A N/A N/A fileWriter close N/A Cleaned jsfile N/A N/A N/A Exception N/A e N/A N/A e N/A clean_css N/A N/A self cssfile N/A N/A N/A N/A N/A content N/A N/A cssutils parseFile cssfile N/A content N/A N/A writer N/A open cssfile w N/A N/A N/A writer write content N/A N/A N/A writer close N/A Cleaned cssfile N/A N/A N/A Exception N/A e N/A N/A e N/A clean N/A N/A self N/A N/A N/A N/A N/A self scan N/A hlen N/A len N/A self htmlfiles N/A jlen N/A len N/A self jsfiles N/A clen N/A len N/A self cssfiles N/A N/A N/A hlen 0 N/A jlen 0 N/A clen 0 N/A N/A workers 5 N/A workers  workers created N/A N/A ThreadPoolExecutor max_workers workers executor N/A N/A hfile N/A self htmlfiles N/A N/A N/A N/A executor submit N/A self clean_html hfile N/A jfile N/A self jsfiles N/A N/A N/A N/A executor submit N/A self clean_js jfile N/A cfile N/A self cssfiles N/A N/A N/A N/A executor submit N/A self clean_css cfile N/A N/A N/A executor shutdown N/A Cleaning completed. N/A N/A No html, js or css files found. N/A N/A N/A sys exit 1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv 1 N/A N/A N/A N/A N/A os path isdir N/A N/A sys argv N/A 1 N/A N/A project_dir N/A N/A sys argv N/A 1 N/A cleanify N/A Cleanify project_dir N/A N/A N/A cleanify clean N/A N/A Invalid directory N/A N/A N/A sys exit 1