forked from nautechsystems/nautilus_trader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
30 lines (30 loc) · 1010 Bytes
/
Copy pathclippy.toml
File metadata and controls
30 lines (30 loc) · 1010 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
30
cognitive-complexity-threshold = 10
allow-expect-in-tests = true
allow-unwrap-in-tests = true
disallowed-methods = [
{ path = "getrandom::fill", reason = "raw OS RNG bypasses DST seed control", replacement = "a cfg-gated DST RNG seam", allow-invalid = true },
{ path = "getrandom::u32", reason = "raw OS RNG bypasses DST seed control", replacement = "a cfg-gated DST RNG seam", allow-invalid = true },
{ path = "getrandom::u64", reason = "raw OS RNG bypasses DST seed control", replacement = "a cfg-gated DST RNG seam", allow-invalid = true },
]
disallowed-types = [
{ path = "tokio::task::LocalSet", reason = "LocalSet is not available under the madsim runtime", replacement = "nautilus_common::live::dst::task::spawn_local", allow-invalid = true },
]
doc-valid-idents = [
"BaseSwap",
"BaseX",
"BitMEX",
"DataFusion",
"DeFi",
"HyperSync",
"MessagePack",
"NautilusTrader",
"PancakeSwap",
"PascalCase",
"PnL",
"PnLs",
"PostgreSQL",
"PyO3",
"SushiSwap",
"SQLx",
"..",
]