aprender-train 0.29.0

Training & Optimization library with autograd, LoRA, quantization, and model merging
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Clippy configuration for Entrenar
# Enforce strict quality standards

# Cognitive complexity limit (EXTREME TDD requirement)
cognitive-complexity-threshold = 15

# Additional strictness
too-many-arguments-threshold = 7
type-complexity-threshold = 250

# Allow unwrap() in test code only (production code uses expect() or ? operator)
allow-unwrap-in-tests = true

# CB-503: Disallowed methods for safety
disallowed-methods = [
    { path = "std::env::set_var", reason = "Not thread-safe, use a config struct instead" },
    { path = "std::env::remove_var", reason = "Not thread-safe, use a config struct instead" },
]