Add downstreamed version of upstream test git::dep_with_scp_like_submodule_url to verify that Cargo correctly handles SCP-like URLs (git@host:path format) in Git submodules and preserves them in error messages. This is a regression test for https://github.com/rust-lang/cargo/pull/16727 The test is enabled on distributions with Rust >= 1.96.0. Upstream reference: https://github.com/rust-lang/cargo/blob/master/tests/testsuite/git.rs
15 lines
425 B
YAML
15 lines
425 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
args: [--unsafe]
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/teemtee/tmt.git
|
|
rev: "1.75.0"
|
|
hooks:
|
|
- id: tmt-lint
|