U e@sLddlmZddlZddlmZddlmZddlm Z dddd d Z dS) ) annotationsN)output)Store)rmtreerint)storereturncCsFtjd}|j|fD]*}tj|rt|td|dqdS)Nz ~/.pre-commitzCleaned .r)ospath expanduser directoryexistsrrZ write_line)rZ legacy_pathr rG/opt/hc_python/lib/python3.8/site-packages/pre_commit/commands/clean.pyclean s   r) __future__ros.pathr Z pre_commitrZpre_commit.storerZpre_commit.utilrrrrrrs