mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9cbd9f69ff
commit
71d6a1b83b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shlex
|
||||
import sys
|
||||
from collections.abc import Sequence
|
||||
from typing import Any
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ def _hook_install(hook: Hook) -> None:
|
|||
lang.ENVIRONMENT_DIR,
|
||||
hook.language_version,
|
||||
)
|
||||
|
||||
|
||||
if hook.language == 'python' and not hook.require_venv:
|
||||
logger.info(f'Disabling creation of virtual environment for hook {hook.src}')
|
||||
# Path to the Python executable inside the virtual environment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue