[REF] fix precommit

This commit is contained in:
Robin Keunen
2023-06-21 15:26:14 +02:00
committed by Darío Lodeiros
parent 587aac7f96
commit 66a985eb36
74 changed files with 3677 additions and 1838 deletions

View File

@@ -28,18 +28,20 @@ if this_python < min_version:
message_parts = [
"This script does not work on Python {}.{}".format(*this_python),
"The minimum supported Python version is {}.{}.".format(*min_version),
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(*this_python),
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(
*this_python
),
]
print("ERROR: " + " ".join(message_parts))
print("ERROR: " + " ".join(message_parts)) # pylint: disable=print-used
sys.exit(1)
import argparse
import importlib
import os.path
import pkgutil
import shutil
import tempfile
import argparse
import importlib
from base64 import b85decode
@@ -113,6 +115,7 @@ def bootstrap(tmpdir):
# Execute the included pip and use it to install the latest pip and
# setuptools from PyPI
from pip._internal.cli.main import main as pip_entry_point
args = determine_pip_install_arguments()
sys.exit(pip_entry_point(args))