asottile: test failures are expected, I'll fix those up
diff --git a/pre_commit/languages/all.py b/pre_commit/languages/all.py
index f441ddd..5546025 100644
--- a/pre_commit/languages/all.py
+++ b/pre_commit/languages/all.py
@@ -10,16 +10,18 @@ from pre_commit.languages import script
 from pre_commit.languages import swift
 from pre_commit.languages import system
 
-# A language implements the following constant and two functions in its module:
+# A language implements the following constant and functions in its module:
 #
 # # Use None for no environment
 # ENVIRONMENT_DIR = 'foo_env'
 #
-# def install_environment(
-#         repo_cmd_runner,
-#         version='default',
-#         additional_dependencies=(),
-# ):
+# def get_default_version():
+#     """Return a value to replace the 'default' value for language_version.
+#
+#     return 'default' if there is no better option.
+#    """
+#
+# def install_environment(repo_cmd_runner, version, additional_dependencies):
 #     """Installs a repository in the given repository.  Note that the current
 #     working directory will already be inside the repository.
 #
diff --git a/pre_commit/languages/docker.py b/pre_commit/languages/docker.py
index 7d3f8d0..59dc1b4 100644
--- a/pre_commit/languages/docker.py
+++ b/pre_commit/languages/docker.py
@@ -14,6 +14,7 @@ from pre_commit.xargs import xargs
 
 ENVIRONMENT_DIR = 'docker'
 PRE_COMMIT_LABEL = 'PRE_COMMIT'
+get_default_version = helpers.basic_get_default_version
 
 
 def md5(s):  # pragma: windows no cover
@@ -55,9 +56,7 @@ def build_docker_image(repo_cmd_runner, **kwargs):  # pragma: windows no cover
 
 
 def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
+        repo_cmd_runner, version, additional_dependencies,
 ):  # pragma: windows no cover
     assert repo_cmd_runner.exists('Dockerfile'), (
         'No Dockerfile was found in the hook repository'
diff --git a/pre_commit/languages/golang.py b/pre_commit/languages/golang.py
index c0bfbcb..ee04ca7 100644
--- a/pre_commit/languages/golang.py
+++ b/pre_commit/languages/golang.py
@@ -14,6 +14,7 @@ from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = 'golangenv'
+get_default_version = helpers.basic_get_default_version
 
 
 def get_env_patch(venv):
@@ -44,11 +45,7 @@ def guess_go_dir(remote_url):
         return 'unknown_src_dir'
 
 
-def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
-):
+def install_environment(repo_cmd_runner, version, additional_dependencies):
     helpers.assert_version_default('golang', version)
     directory = repo_cmd_runner.path(
         helpers.environment_dir(ENVIRONMENT_DIR, 'default'),
diff --git a/pre_commit/languages/helpers.py b/pre_commit/languages/helpers.py
index a6c93de..6af77e3 100644
--- a/pre_commit/languages/helpers.py
+++ b/pre_commit/languages/helpers.py
@@ -33,3 +33,7 @@ def assert_no_additional_deps(lang, additional_deps):
             'For now, pre-commit does not support '
             'additional_dependencies for {}'.format(lang),
         )
+
+
+def basic_get_default_version():
+    return 'default'
diff --git a/pre_commit/languages/node.py b/pre_commit/languages/node.py
index ef557a1..b5f7c56 100644
--- a/pre_commit/languages/node.py
+++ b/pre_commit/languages/node.py
@@ -12,6 +12,7 @@ from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = 'node_env'
+get_default_version = helpers.basic_get_default_version
 
 
 def get_env_patch(venv):  # pragma: windows no cover
@@ -34,9 +35,7 @@ def in_env(repo_cmd_runner, language_version):  # pragma: windows no cover
 
 
 def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
+        repo_cmd_runner, version, additional_dependencies,
 ):  # pragma: windows no cover
     additional_dependencies = tuple(additional_dependencies)
     assert repo_cmd_runner.exists('package.json')
diff --git a/pre_commit/languages/pcre.py b/pre_commit/languages/pcre.py
index 314ea09..faba539 100644
--- a/pre_commit/languages/pcre.py
+++ b/pre_commit/languages/pcre.py
@@ -2,18 +2,16 @@ from __future__ import unicode_literals
 
 import sys
 
+from pre_commit.languages import helpers
 from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = None
 GREP = 'ggrep' if sys.platform == 'darwin' else 'grep'
+get_default_version = helpers.basic_get_default_version
 
 
-def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
-):
+def install_environment(repo_cmd_runner, version, additional_dependencies):
     """Installation for pcre type is a noop."""
     raise AssertionError('Cannot install pcre repo.')
 
diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py
index 634abe5..715d585 100644
--- a/pre_commit/languages/python.py
+++ b/pre_commit/languages/python.py
@@ -1,7 +1,6 @@
 from __future__ import unicode_literals
 
 import contextlib
-import distutils.spawn
 import os
 import sys
 
@@ -9,11 +8,13 @@ from pre_commit.envcontext import envcontext
 from pre_commit.envcontext import UNSET
 from pre_commit.envcontext import Var
 from pre_commit.languages import helpers
+from pre_commit.parse_shebang import find_executable
 from pre_commit.util import clean_path_on_failure
 from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = 'py_env'
+get_default_version = helpers.basic_get_default_version
 
 
 def bin_dir(venv):
@@ -39,10 +40,53 @@ def in_env(repo_cmd_runner, language_version):
         yield
 
 
+def _get_default_version():  # pragma: no cover (platform dependent)
+    def _norm(path):
+        _, exe = os.path.split(path.lower())
+        exe, _, _ = exe.partition('.exe')
+        if find_executable(exe) and exe not in {'python', 'pythonw'}:
+            return exe
+
+    # First attempt from `sys.executable` (or the realpath)
+    # On linux, I see these common sys.executables:
+    #
+    # system `python`: /usr/bin/python -> python2.7
+    # system `python2`: /usr/bin/python2 -> python2.7
+    # virtualenv v: v/bin/python (will not return from this loop)
+    # virtualenv v -ppython2: v/bin/python -> python2
+    # virtualenv v -ppython2.7: v/bin/python -> python2.7
+    # virtualenv v -ppypy: v/bin/python -> v/bin/pypy
+    for path in {sys.executable, os.path.realpath(sys.executable)}:
+        exe = _norm(path)
+        if exe:
+            return exe
+
+    # Next try the `pythonX.X` executable
+    exe = 'python{}.{}'.format(*sys.version_info)
+    if find_executable(exe):
+        return exe
+
+    # Give a best-effort try for windows
+    if os.path.exists(r'C:\{}\python.exe'.format(exe.replace('.', ''))):
+        return exe
+
+    # We tried!
+    return 'default'
+
+
+def get_default_version():
+    # TODO: when dropping python2, use `functools.lru_cache(maxsize=1)`
+    try:
+        return get_default_version.cached_version
+    except AttributeError:
+        get_default_version.cached_version = _get_default_version()
+        return get_default_version()
+
+
 def norm_version(version):
     if os.name == 'nt':  # pragma: no cover (windows)
         # Try looking up by name
-        if distutils.spawn.find_executable(version):
+        if find_executable(version) and find_executable(version) != version:
             return version
 
         # If it is in the form pythonx.x search in the default
@@ -54,11 +98,7 @@ def norm_version(version):
     return os.path.expanduser(version)
 
 
-def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
-):
+def install_environment(repo_cmd_runner, version, additional_dependencies):
     additional_dependencies = tuple(additional_dependencies)
     directory = helpers.environment_dir(ENVIRONMENT_DIR, version)
 
diff --git a/pre_commit/languages/ruby.py b/pre_commit/languages/ruby.py
index d3896d9..26e303c 100644
--- a/pre_commit/languages/ruby.py
+++ b/pre_commit/languages/ruby.py
@@ -16,6 +16,7 @@ from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = 'rbenv'
+get_default_version = helpers.basic_get_default_version
 
 
 def get_env_patch(venv, language_version):  # pragma: windows no cover
@@ -97,9 +98,7 @@ def _install_ruby(runner, version):  # pragma: windows no cover
 
 
 def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
+        repo_cmd_runner, version, additional_dependencies,
 ):  # pragma: windows no cover
     additional_dependencies = tuple(additional_dependencies)
     directory = helpers.environment_dir(ENVIRONMENT_DIR, version)
diff --git a/pre_commit/languages/script.py b/pre_commit/languages/script.py
index 762ae76..c4b6593 100644
--- a/pre_commit/languages/script.py
+++ b/pre_commit/languages/script.py
@@ -5,13 +5,10 @@ from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = None
+get_default_version = helpers.basic_get_default_version
 
 
-def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
-):
+def install_environment(repo_cmd_runner, version, additional_dependencies):
     """Installation for script type is a noop."""
     raise AssertionError('Cannot install script repo.')
 
diff --git a/pre_commit/languages/swift.py b/pre_commit/languages/swift.py
index 4d171c5..a27dfac 100644
--- a/pre_commit/languages/swift.py
+++ b/pre_commit/languages/swift.py
@@ -10,6 +10,7 @@ from pre_commit.util import clean_path_on_failure
 from pre_commit.xargs import xargs
 
 ENVIRONMENT_DIR = 'swift_env'
+get_default_version = helpers.basic_get_default_version
 BUILD_DIR = '.build'
 BUILD_CONFIG = 'release'
 
@@ -29,9 +30,7 @@ def in_env(repo_cmd_runner):  # pragma: windows no cover
 
 
 def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
+        repo_cmd_runner, version, additional_dependencies,
 ):  # pragma: windows no cover
     helpers.assert_version_default('swift', version)
     helpers.assert_no_additional_deps('swift', additional_dependencies)
diff --git a/pre_commit/languages/system.py b/pre_commit/languages/system.py
index c9e1c5d..3148079 100644
--- a/pre_commit/languages/system.py
+++ b/pre_commit/languages/system.py
@@ -5,13 +5,10 @@ from pre_commit.xargs import xargs
 
 
 ENVIRONMENT_DIR = None
+get_default_version = helpers.basic_get_default_version
 
 
-def install_environment(
-        repo_cmd_runner,
-        version='default',
-        additional_dependencies=(),
-):
+def install_environment(repo_cmd_runner, version, additional_dependencies):
     """Installation for system type is a noop."""
     raise AssertionError('Cannot install system repo.')
 
diff --git a/pre_commit/manifest.py b/pre_commit/manifest.py
index 888ad6d..081f3c6 100644
--- a/pre_commit/manifest.py
+++ b/pre_commit/manifest.py
@@ -7,6 +7,7 @@ from cached_property import cached_property
 
 import pre_commit.constants as C
 from pre_commit.clientlib import load_manifest
+from pre_commit.languages.all import languages
 
 
 logger = logging.getLogger('pre_commit')
@@ -38,4 +39,10 @@ class Manifest(object):
 
     @cached_property
     def hooks(self):
-        return {hook['id']: hook for hook in self.manifest_contents}
+        ret = {}
+        for hook in self.manifest_contents:
+            if hook['language_version'] == 'default':
+                language = languages[hook['language']]
+                hook['language_version'] = language.get_default_version()
+            ret[hook['id']] = hook
+        return ret

Detect the python version when creating `default` py_envs
Given two separate virtualenvs, one running with python3 and the other running with python2, and each with the appropriate pre-commit installed (`pip install pre-commit` in the first, `pip3 install pre-commit` in the second), the check-ast plugin fails to parse Python 2 (or 3) syntax correctly, depending on which virtualenv pre-commit was installed in first.

Suggestions: 
- the ~/.pre-commit cache should instead be a per virtualenv cache, rather than per user.
- instead of maintaining the cache, consider just using pip dependencies instead.

Example failure in Python 2 venv if Python 3 venv installs pre-commit first:

```
p2/main.py: failed parsing with python3.4:

    Traceback (most recent call last):
      File "/home/ubuntu/.pre-commit/repo_3mr61_f/py_env-default/lib/python3.4/site-packages/pre_commit_hooks/check_ast.py", line 23, in check_ast
        ast.parse(open(filename, 'rb').read(), filename=filename)
      File "/usr/lib/python3.4/ast.py", line 35, in parse
        return compile(source, filename, mode, PyCF_ONLY_AST)
      File "p2/main.py", line 178
        except socket.error, e:
                           ^
    SyntaxError: invalid syntax
```

Example failure in Python 3 venv if Python 2 venv installs pre-commit first:

```
p3/__main__.py: failed parsing with python:

    Traceback (most recent call last):
      File "/home/ubuntu/.pre-commit/repoCzM4lg/py_env-default/local/lib/python2.7/site-packages/pre_commit_hooks/check_ast.py", line 23, in check_ast
        ast.parse(open(filename, 'rb').read(), filename=filename)
      File "/usr/lib/python2.7/ast.py", line 37, in parse
        return compile(source, filename, mode, PyCF_ONLY_AST)
      File "p3/__main__.py", line 30
        "c=%s" % args.c, file=sys.stderr)
                                ^
    SyntaxError: invalid syntax
```

`rm -fr ~/.pre-commit` was run between each test.

diff --git a/tests/languages/all_test.py b/tests/languages/all_test.py
index 73b89cb..dd1ed27 100644
--- a/tests/languages/all_test.py
+++ b/tests/languages/all_test.py
@@ -12,9 +12,7 @@ from pre_commit.languages.all import languages
 def test_install_environment_argspec(language):
     expected_argspec = inspect.ArgSpec(
         args=['repo_cmd_runner', 'version', 'additional_dependencies'],
-        varargs=None,
-        keywords=None,
-        defaults=('default', ()),
+        varargs=None, keywords=None, defaults=None,
     )
     argspec = inspect.getargspec(languages[language].install_environment)
     assert argspec == expected_argspec
@@ -33,3 +31,12 @@ def test_run_hook_argpsec(language):
     )
     argspec = inspect.getargspec(languages[language].run_hook)
     assert argspec == expected_argspec
+
+
+@pytest.mark.parametrize('language', all_languages)
+def test_get_default_version_argspec(language):
+    expected_argspec = inspect.ArgSpec(
+        args=[], varargs=None, keywords=None, defaults=None,
+    )
+    argspec = inspect.getargspec(languages[language].get_default_version)
+    assert argspec == expected_argspec
diff --git a/tests/manifest_test.py b/tests/manifest_test.py
index 7db886c..ada004f 100644
--- a/tests/manifest_test.py
+++ b/tests/manifest_test.py
@@ -11,8 +11,7 @@ from testing.util import get_head_sha
 @pytest.yield_fixture
 def manifest(store, tempdir_factory):
     path = make_repo(tempdir_factory, 'script_hooks_repo')
-    head_sha = get_head_sha(path)
-    repo_path = store.clone(path, head_sha)
+    repo_path = store.clone(path, get_head_sha(path))
     yield Manifest(repo_path, path)
 
 
@@ -76,3 +75,13 @@ def test_legacy_manifest_warn(store, tempdir_factory, log_warning_mock):
         'If `pre-commit autoupdate` does not silence this warning consider '
         'making an issue / pull request.'.format(path)
     )
+
+
+def test_default_python_language_version(store, tempdir_factory):
+    path = make_repo(tempdir_factory, 'python_hooks_repo')
+    repo_path = store.clone(path, get_head_sha(path))
+    manifest = Manifest(repo_path, path)
+
+    # This assertion is difficult as it is version dependent, just assert
+    # that it is *something*
+    assert manifest.hooks['foo']['language_version'] != 'default'
diff --git a/tests/repository_test.py b/tests/repository_test.py
index f91642e..7131d75 100644
--- a/tests/repository_test.py
+++ b/tests/repository_test.py
@@ -442,7 +442,7 @@ def test_venvs(tempdir_factory, store):
     config = make_config_from_repo(path)
     repo = Repository.create(config, store)
     venv, = repo._venvs
-    assert venv == (mock.ANY, 'python', 'default', [])
+    assert venv == (mock.ANY, 'python', python.get_default_version(), [])
 
 
 @pytest.mark.integration
@@ -452,7 +452,7 @@ def test_additional_dependencies(tempdir_factory, store):
     config['hooks'][0]['additional_dependencies'] = ['pep8']
     repo = Repository.create(config, store)
     venv, = repo._venvs
-    assert venv == (mock.ANY, 'python', 'default', ['pep8'])
+    assert venv == (mock.ANY, 'python', python.get_default_version(), ['pep8'])
 
 
 @pytest.mark.integration
@@ -591,7 +591,8 @@ def test_control_c_control_c_on_install(tempdir_factory, store):
                 repo.run_hook(hook, [])
 
     # Should have made an environment, however this environment is broken!
-    assert os.path.exists(repo._cmd_runner.path('py_env-default'))
+    envdir = 'py_env-{}'.format(python.get_default_version())
+    assert repo._cmd_runner.exists(envdir)
 
     # However, it should be perfectly runnable (reinstall after botched
     # install)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements-dev.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
aspy.yaml==1.3.0
cached-property==2.0.1
coverage==7.8.0
distlib==0.3.9
exceptiongroup==1.2.2
filelock==3.18.0
flake8==7.2.0
identify==2.6.9
iniconfig==2.1.0
mccabe==0.7.0
mock==5.2.0
nodeenv==1.9.1
packaging==24.2
platformdirs==4.3.7
pluggy==1.5.0
-e git+https://github.com/pre-commit/pre-commit.git@853cbecd4e15aeb59e4730320dc90fe16afa219e#egg=pre_commit
pycodestyle==2.13.0
pyflakes==3.3.1
pytest==8.3.5
pytest-env==1.1.5
PyYAML==6.0.2
six==1.17.0
tomli==2.2.1
virtualenv==20.29.3

name: pre-commit
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - aspy-yaml==1.3.0
      - cached-property==2.0.1
      - coverage==7.8.0
      - distlib==0.3.9
      - exceptiongroup==1.2.2
      - filelock==3.18.0
      - flake8==7.2.0
      - identify==2.6.9
      - iniconfig==2.1.0
      - mccabe==0.7.0
      - mock==5.2.0
      - nodeenv==1.9.1
      - packaging==24.2
      - platformdirs==4.3.7
      - pluggy==1.5.0
      - pycodestyle==2.13.0
      - pyflakes==3.3.1
      - pytest==8.3.5
      - pytest-env==1.1.5
      - pyyaml==6.0.2
      - setuptools==18.4
      - six==1.17.0
      - tomli==2.2.1
      - virtualenv==20.29.3
prefix: /opt/conda/envs/pre-commit

tests/languages/all_test.py::test_install_environment_argspec[docker] tests/languages/all_test.py::test_install_environment_argspec[golang] tests/languages/all_test.py::test_install_environment_argspec[node] tests/languages/all_test.py::test_install_environment_argspec[pcre] tests/languages/all_test.py::test_install_environment_argspec[python] tests/languages/all_test.py::test_install_environment_argspec[ruby] tests/languages/all_test.py::test_install_environment_argspec[script] tests/languages/all_test.py::test_install_environment_argspec[swift] tests/languages/all_test.py::test_install_environment_argspec[system] tests/languages/all_test.py::test_get_default_version_argspec[docker] tests/languages/all_test.py::test_get_default_version_argspec[golang] tests/languages/all_test.py::test_get_default_version_argspec[node] tests/languages/all_test.py::test_get_default_version_argspec[pcre] tests/languages/all_test.py::test_get_default_version_argspec[python] tests/languages/all_test.py::test_get_default_version_argspec[ruby] tests/languages/all_test.py::test_get_default_version_argspec[script] tests/languages/all_test.py::test_get_default_version_argspec[swift] tests/languages/all_test.py::test_get_default_version_argspec[system] tests/manifest_test.py::test_default_python_language_version tests/repository_test.py::test_venvs tests/repository_test.py::test_additional_dependencies tests/repository_test.py::test_control_c_control_c_on_install
tests/repository_test.py::test_switch_language_versions_doesnt_clobber tests/repository_test.py::test_versioned_python_hook tests/repository_test.py::test_run_a_ruby_hook tests/repository_test.py::test_run_versioned_ruby_hook tests/repository_test.py::test_run_ruby_hook_with_disable_shared_gems tests/repository_test.py::test_golang_hook tests/repository_test.py::test_additional_ruby_dependencies_installed tests/repository_test.py::test_additional_golang_dependencies_installed
tests/languages/all_test.py::test_ENVIRONMENT_DIR[docker] tests/languages/all_test.py::test_ENVIRONMENT_DIR[golang] tests/languages/all_test.py::test_ENVIRONMENT_DIR[node] tests/languages/all_test.py::test_ENVIRONMENT_DIR[pcre] tests/languages/all_test.py::test_ENVIRONMENT_DIR[python] tests/languages/all_test.py::test_ENVIRONMENT_DIR[ruby] tests/languages/all_test.py::test_ENVIRONMENT_DIR[script] tests/languages/all_test.py::test_ENVIRONMENT_DIR[swift] tests/languages/all_test.py::test_ENVIRONMENT_DIR[system] tests/languages/all_test.py::test_run_hook_argpsec[docker] tests/languages/all_test.py::test_run_hook_argpsec[golang] tests/languages/all_test.py::test_run_hook_argpsec[node] tests/languages/all_test.py::test_run_hook_argpsec[pcre] tests/languages/all_test.py::test_run_hook_argpsec[python] tests/languages/all_test.py::test_run_hook_argpsec[ruby] tests/languages/all_test.py::test_run_hook_argpsec[script] tests/languages/all_test.py::test_run_hook_argpsec[swift] tests/languages/all_test.py::test_run_hook_argpsec[system] tests/manifest_test.py::test_manifest_contents tests/manifest_test.py::test_hooks tests/manifest_test.py::test_legacy_manifest_warn tests/repository_test.py::test_python_hook tests/repository_test.py::test_python_hook_args_with_spaces tests/repository_test.py::test_python_hook_weird_setup_cfg tests/repository_test.py::test_run_a_node_hook tests/repository_test.py::test_run_versioned_node_hook tests/repository_test.py::test_system_hook_with_spaces tests/repository_test.py::test_repo_with_legacy_hooks_yaml tests/repository_test.py::test_missing_executable tests/repository_test.py::test_missing_pcre_support tests/repository_test.py::test_run_a_script_hook tests/repository_test.py::test_run_hook_with_spaced_args tests/repository_test.py::test_run_hook_with_curly_braced_arguments tests/repository_test.py::test_pcre_hook_no_match tests/repository_test.py::test_pcre_hook_matching tests/repository_test.py::test_pcre_hook_case_insensitive_option tests/repository_test.py::test_pcre_many_files tests/repository_test.py::test_cwd_of_hook tests/repository_test.py::test_lots_of_files tests/repository_test.py::test_additional_dependencies_duplicated tests/repository_test.py::test_additional_python_dependencies_installed tests/repository_test.py::test_additional_dependencies_roll_forward tests/repository_test.py::test_additional_node_dependencies_installed tests/repository_test.py::test_reinstall tests/repository_test.py::test_really_long_file_paths tests/repository_test.py::test_config_overrides_repo_specifics tests/repository_test.py::test_tags_on_repositories tests/repository_test.py::test_local_repository tests/repository_test.py::test_local_python_repo tests/repository_test.py::test_hook_id_not_present tests/repository_test.py::test_too_new_version tests/repository_test.py::test_versions_ok[0.1.0] tests/repository_test.py::test_versions_ok[0.15.0]
pre_commit/languages/swift.py pre_commit/languages/golang.py pre_commit/languages/pcre.py pre_commit/languages/helpers.py pre_commit/languages/node.py pre_commit/languages/ruby.py pre_commit/languages/all.py pre_commit/languages/system.py pre_commit/manifest.py pre_commit/languages/script.py pre_commit/languages/docker.py pre_commit/languages/python.py
pre_commit/languages/swift.py pre_commit/languages/golang.py pre_commit/languages/pcre.py pre_commit/languages/helpers.py pre_commit/languages/node.py pre_commit/languages/ruby.py pre_commit/languages/all.py pre_commit/languages/system.py pre_commit/manifest.py pre_commit/languages/script.py pre_commit/languages/docker.py pre_commit/languages/python.py