mirror of https://github.com/astral-sh/ruff
Use https by default in schema store update script (#11882)
This commit is contained in:
parent
c50577f1d7
commit
19cd9d7d8a
|
|
@ -136,9 +136,9 @@ def determine_git_protocol(argv: list[str] | None = None) -> GitProtocol:
|
|||
)
|
||||
parser.add_argument(
|
||||
"--proto",
|
||||
required=True,
|
||||
choices=[proto.value for proto in GitProtocol],
|
||||
help="Protocol to use for cloning git repos",
|
||||
default="https",
|
||||
help="Protocol to use for git authentication",
|
||||
)
|
||||
args = parser.parse_args(argv)
|
||||
return GitProtocol(args.proto)
|
||||
|
|
|
|||
Loading…
Reference in New Issue