forked from tensorzero/tensorzero
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclippy.toml
More file actions
13 lines (13 loc) · 792 Bytes
/
clippy.toml
File metadata and controls
13 lines (13 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
allow-expect-in-tests = true
allow-panic-in-tests = true
allow-unwrap-in-tests = true
doc-valid-idents = ["TensorZero", "ClickHouse", ".."]
disallowed-types = [
{ path = "backon::Retryable", reason = "Use the retry functionality in tensorzero-core/src/utils/retries.rs instead" },
]
disallowed-methods = [
{ path = "tracing_subscriber::layer::Layer::with_filter", reason = "Call `apply_filter_fixing_tracing_bug` instead" },
{ path = "tokio::task::spawn", reason = "Verify that it's okay for the gateway to shut down without waiting for this task" },
{ path = "std::process::exit", reason = "Verify that it's okay to shut down the entire process without our normal shutdown logic" },
{ path = "uuid::Uuid::new_v4", reason = "Use `Uuid::now_v7` for new UUIDs instead" },
]