Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
__command__
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("packages",
nargs = "*",
help = "Packages to Upgrade."
)
parser.add_argument("--ignore",
action = "append",
__description__,
__command__
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("--pip-path",
action = "append",
help = "Path to pip executable to be used."
)
parser.add_argument("-y", "--yes",
__command__
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("--pip-path",
action = "append",
help = "Path to pip executable to be used."
)
parser.add_argument("-y", "--yes",
action = "store_true",
__description__,
__command__
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("packages",
nargs = "*",
help = "Packages to Upgrade."
)
parser.add_argument("--ignore",
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("--pip-path",
action = "append",
help = "Path to pip executable to be used."
)
parser.add_argument("-y", "--yes",
action = "store_true",
default = getenv("ACCEPT_ALL_DIALOGS", False),
)
from pipupgrade.util.environ import getenv
from pipupgrade.cli import util as _cli
from pipupgrade.cli.formatter import ArgumentParserFormatter
from pipupgrade.cli.util import _CAN_ANSI_FORMAT
from pipupgrade._pip import _PIP_EXECUTABLES
_DESCRIPTION_JUMBOTRON = \
"""
%s (v %s)
%s
""" % (
_cli.format(__name__, _cli.RED),
_cli.format(__version__, _cli.BOLD),
_cli.format(__description__, _cli.BOLD)
)
def get_parser():
parser = argparse.ArgumentParser(
prog = __command__,
description = _DESCRIPTION_JUMBOTRON,
add_help = False,
formatter_class = ArgumentParserFormatter
)
parser.add_argument("packages",
nargs = "*",
help = "Packages to Upgrade."
)
parser.add_argument("--ignore",
action = "append",
help = "Ignore packages to upgrade."