U e@sxddlmZddlZddlmZddlmZddlmZddlmZe dZ Gdd d eZ e e e jd d hZdS) ) annotationsN)Any) NamedTuple)Sequence)PrefixZ pre_commitc@seZdZUded<ded<ded<ded<ded<ded<ded <ded <ded <d ed <d ed<d ed<d ed<d ed<ded<ded<ded<ded<ded<ded<ded<ded<d ed<ded<edddd Zeddd!dd"d#d$Zd%S)&Hookstrsrcrprefixidnameentrylanguagealiasfilesexcludez Sequence[str]typesZtypes_orZ exclude_typesadditional_dependenciesargsboolZ always_runZ fail_fastZpass_filenames descriptionlanguage_versionZlog_fileZminimum_pre_commit_versionZrequire_serialZstagesverbosez(tuple[Prefix, str, str, tuple[str, ...]])returncCs|j|j|jt|jfS)N)r rrtupler)selfr=/opt/hc_python/lib/python3.8/site-packages/pre_commit/hook.py install_key's zHook.install_keyzdict[str, Any])r r dctrc s\tt}|r:td|ddddt||f||dfddtDS) NzUnexpected key(s) present on z => r z: z, )r r csi|]}||qSrr).0krrr 9szHook.create..)set_KEYSloggerwarningjoinsorted)clsr r rZ extra_keysrr"rcreate0s  "z Hook.createN)__name__ __module__ __qualname____annotations__propertyr classmethodr+rrrrr s8 rr r ) __future__rloggingtypingrrrZpre_commit.prefixr getLoggerr&r frozensetr$_fieldsr%rrrrs      /