blob: 9d1db37687527d922f366f5611685e90c393b590 [file]
# Clippy configuration, applied via the `rust-lint` config in .bazelrc.
#
# Tests may panic freely. Production crates deny unwrap/expect themselves via
# `#![deny(clippy::expect_used, clippy::unwrap_used)]`. Note these settings only
# recognize `#[test]` functions and `#[cfg(test)]` items, not helper functions
# in integration-test crates, which is why unwrap/expect lints are not enabled
# globally.
allow-dbg-in-tests = true
allow-expect-in-tests = true
allow-indexing-slicing-in-tests = true
allow-panic-in-tests = true
allow-unwrap-in-tests = true