Server IP : 66.29.132.122 / Your IP : 3.143.0.122 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/opt/hc_python/lib/python3.8/site-packages/pre_commit/ |
Upload File : |
from __future__ import annotations from pre_commit.lang_base import Language from pre_commit.languages import conda from pre_commit.languages import coursier from pre_commit.languages import dart from pre_commit.languages import docker from pre_commit.languages import docker_image from pre_commit.languages import dotnet from pre_commit.languages import fail from pre_commit.languages import golang from pre_commit.languages import haskell from pre_commit.languages import lua from pre_commit.languages import node from pre_commit.languages import perl from pre_commit.languages import pygrep from pre_commit.languages import python from pre_commit.languages import r from pre_commit.languages import ruby from pre_commit.languages import rust from pre_commit.languages import script from pre_commit.languages import swift from pre_commit.languages import system languages: dict[str, Language] = { 'conda': conda, 'coursier': coursier, 'dart': dart, 'docker': docker, 'docker_image': docker_image, 'dotnet': dotnet, 'fail': fail, 'golang': golang, 'haskell': haskell, 'lua': lua, 'node': node, 'perl': perl, 'pygrep': pygrep, 'python': python, 'r': r, 'ruby': ruby, 'rust': rust, 'script': script, 'swift': swift, 'system': system, # TODO: fully deprecate `python_venv` 'python_venv': python, } language_names = sorted(languages)