Skip to content

Commit c73e3d6

Browse files
authored
chore: Exclude autogenerated file from lint checks (#236)
1 parent 712daeb commit c73e3d6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.cspell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@
3131
"Bhasin",
3232
"chrono",
3333
"Cijo",
34+
"clippy",
3435
"codecov",
3536
"deque",
3637
"Dirkjan",
38+
"docsrs",
3739
"errno",
3840
"eventheader",
41+
"flamegraph",
3942
"ftrace",
4043
"hasher",
4144
"isahc",
@@ -51,11 +54,13 @@
5154
"openetelemetry",
5255
"opentelemetry",
5356
"OTLP",
57+
"pprof",
5458
"protoc",
5559
"quantile",
5660
"Redelmeier",
5761
"reqwest",
5862
"rustc",
63+
"serde",
5964
"Tescher",
6065
"tracepoint",
6166
"tracepoints",

opentelemetry-contrib/src/trace/exporter/jaeger_json.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::collections::HashMap;
1313
use std::path::{Path, PathBuf};
1414
use std::time::SystemTime;
1515

16-
/// An exporter for jaeger comptible json files containing trace data
16+
/// An exporter for jaeger compatible json files containing trace data
1717
#[derive(Debug)]
1818
pub struct JaegerJsonExporter<R> {
1919
out_path: PathBuf,
@@ -26,7 +26,7 @@ impl<R: JaegerJsonRuntime> JaegerJsonExporter<R> {
2626
/// Configure a new jaeger-json exporter
2727
///
2828
/// * `out_path` refers to an directory where span data are written. If it does not exist, it is created by the exporter
29-
/// * `file_prefix` refers to a prefix prependend to each span file
29+
/// * `file_prefix` refers to a prefix prepended to each span file
3030
/// * `service_name` is used to identify the corresponding service in jaeger
3131
/// * `runtime` specifies the used async runtime to write the trace data
3232
pub fn new(out_path: PathBuf, file_prefix: String, service_name: String, runtime: R) -> Self {

opentelemetry-stackdriver/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ use tonic::{
4040
};
4141

4242
#[allow(clippy::derive_partial_eq_without_eq)] // tonic doesn't derive Eq for generated types
43+
#[allow(clippy::doc_overindented_list_items)]
4344
pub mod proto;
4445

4546
#[cfg(feature = "propagator")]

0 commit comments

Comments
 (0)