ó
    Ñ]jo  ã                  óš   • S SK Jr  S SKrS SKrS SKJr  S SKJr  S SK	J
r
  S SK	Jr  \R                  " S5      r S	           S
S jjrg)é    )ÚannotationsN)Úinstall)ÚStore)ÚCalledProcessError)Ú
cmd_outputÚ
pre_commitc           	     óž  • [        U UUSUUS9   [        SSS5      u  pVn[        R                  R	                  [        R                  R                  UR                  5       5      5      n[        R                  R	                  U5      nXx:w  a.  [        R                  S5        [        R                  SU S35        g	! [         a    S n Naf = f)
NT)Ú
hook_typesÚ	overwriteÚskip_on_missing_configÚgit_dirÚgitÚconfigzinit.templateDirz2`init.templateDir` not set to the target directoryz,maybe `git config --global init.templateDir z`?r   )
r   r   ÚosÚpathÚrealpathÚ
expanduserÚstripr   ÚloggerÚwarning)	Úconfig_fileÚstoreÚ	directoryr
   r   Ú_ÚoutÚconfigured_pathÚdests	            Úa/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pre_commit/commands/init_templatedir.pyÚinit_templatedirr      s¸   € ô ØØØØØ5ØòðLÜ˜u hÐ0BÓC‰	ˆ�ô Ÿ'™'×*Ñ*¬2¯7©7×+=Ñ+=¸c¿i¹i»kÓ+JÓKˆÜ�7‰7×Ñ˜IÓ&€DØÓÜ�‰ÐKÔLÜ�‰ÐEÀdÀVÈ2ÐNÔOØøô ó ØŠðús   �B= Â=CÃC)T)r   Ústrr   r   r   r    r
   zlist[str] | Noner   ÚboolÚreturnÚint)Ú
__future__r   ÚloggingÚos.pathr   Ú%pre_commit.commands.install_uninstallr   Úpre_commit.storer   Úpre_commit.utilr   r   Ú	getLoggerr   r   © ó    r   Ú<module>r-      sl   ðÝ "ã Û å 9Ý "Ý .Ý &à	×	Ò	˜<Ó	(€ð (,ðØðàðð ðð %ð	ð
 !%ðð 	ör,   