Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Modkit allowed to have more complex logic than modules
cognitive-complexity-threshold = 55
type-complexity-threshold = 220

# Function length threshold (default is 100)
too-many-lines-threshold = 200

# Allow unwrap/expect in tests and doctests (they should panic on failure)
allow-unwrap-in-tests = true
allow-expect-in-tests = true
Loading