Skip to content

Commit

Permalink
🚨 disable linter for vendored code
Browse files Browse the repository at this point in the history
Signed-off-by: David Bernard <[email protected]>
  • Loading branch information
davidB committed Mar 9, 2024
1 parent 4f8e15b commit fc2f404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tonic-tracing-opentelemetry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ pub mod middleware;

// HACK vendor of tracing_opentelemetry_instrumentation_sdk until tonic can support hyper 1, http 1, ...
// TODO reexport tracing_opentelemetry_instrumentation_sdk crate
#[allow(dead_code)]
pub mod tracing_opentelemetry_instrumentation_sdk;
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ mod tests {
}

#[rstest]
#[case("http://example.org/hello/world", "http")]
#[case("http://example.org/hello/world", "http")] // Devskim: ignore DS137138
#[case("https://example.org/hello/world", "https")]
#[case("foo://example.org/hello/world", "foo")]
fn test_extract_url_scheme(#[case] input: &str, #[case] expected: &str) {
Expand Down

0 comments on commit fc2f404

Please sign in to comment.