diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:23:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:23:31 +0000 |
commit | 08605d822cdf05ee12d3f5d936ee1b4c4f46bb70 (patch) | |
tree | d733c49718aafd45ed7614531bc87b7ab1efc706 /pre_commit/repository.py | |
parent | Adding upstream version 3.8.0. (diff) | |
download | pre-commit-08605d822cdf05ee12d3f5d936ee1b4c4f46bb70.tar.xz pre-commit-08605d822cdf05ee12d3f5d936ee1b4c4f46bb70.zip |
Adding upstream version 4.0.1.upstream/4.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/repository.py')
-rw-r--r-- | pre_commit/repository.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pre_commit/repository.py b/pre_commit/repository.py index aa84185..a9461ab 100644 --- a/pre_commit/repository.py +++ b/pre_commit/repository.py @@ -3,7 +3,6 @@ from __future__ import annotations import json import logging import os -import shlex from collections.abc import Sequence from typing import Any @@ -68,14 +67,6 @@ def _hook_install(hook: Hook) -> None: logger.info('Once installed this environment will be reused.') logger.info('This may take a few minutes...') - if hook.language == 'python_venv': - logger.warning( - f'`repo: {hook.src}` uses deprecated `language: python_venv`. ' - f'This is an alias for `language: python`. ' - f'Often `pre-commit autoupdate --repo {shlex.quote(hook.src)}` ' - f'will fix this.', - ) - lang = languages[hook.language] assert lang.ENVIRONMENT_DIR is not None |