mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 20:26:54 +00:00
15 lines
391 B
Python
15 lines
391 B
Python
from __future__ import annotations
|
|
|
|
from typing import List
|
|
from typing import Optional
|
|
|
|
|
|
def main(args: list[str] | None = None) -> int:
|
|
"""This is preserved for old console scripts that may still be referencing
|
|
it.
|
|
|
|
For additional details, see https://github.com/pypa/pip/issues/7498.
|
|
"""
|
|
from pip._internal.utils.entrypoints import _wrapper
|
|
|
|
return _wrapper(args)
|