-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
29 lines (23 loc) · 984 Bytes
/
clippy.toml
File metadata and controls
29 lines (23 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Clippy configuration — OpenPRX production standard
cognitive-complexity-threshold = 25
too-many-arguments-threshold = 8
too-many-lines-threshold = 150
type-complexity-threshold = 250
excessive-nesting-threshold = 6
large-error-threshold = 128
future-size-threshold = 16384
too-large-for-stack = 200
array-size-threshold = 65536
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-panic-in-tests = true
allow-dbg-in-tests = true
disallowed-methods = [
{ path = "std::sync::Mutex::new", reason = "Use parking_lot::Mutex (sync) or tokio::sync::Mutex (async)" },
{ path = "std::sync::RwLock::new", reason = "Use parking_lot::RwLock (sync) or tokio::sync::RwLock (async)" },
]
disallowed-types = [
{ path = "std::sync::Mutex", reason = "Use parking_lot::Mutex" },
{ path = "std::sync::RwLock", reason = "Use parking_lot::RwLock" },
]
doc-valid-idents = ["LLM", "AI", "API", "PRX", "OpenPRX", "SDK", "UUID", "URL", "HMAC", "WebSocket", "GitHub", ".."]