mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 04:48:07 +00:00
Use https by default in schema store update script (#11882)
This commit is contained in:
parent
c50577f1d7
commit
19cd9d7d8a
1 changed files with 2 additions and 2 deletions
|
|
@ -136,9 +136,9 @@ def determine_git_protocol(argv: list[str] | None = None) -> GitProtocol:
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--proto",
|
"--proto",
|
||||||
required=True,
|
|
||||||
choices=[proto.value for proto in GitProtocol],
|
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)
|
args = parser.parse_args(argv)
|
||||||
return GitProtocol(args.proto)
|
return GitProtocol(args.proto)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue