From fa46eddef78a24a0b9d69cc13373db05de324972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Thu, 22 Feb 2024 13:59:38 +0000 Subject: [PATCH] add clippy config --- clippy.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 clippy.toml diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 00000000000..e5bc0863d75 --- /dev/null +++ b/clippy.toml @@ -0,0 +1,4 @@ +disallowed-types = [ + { path = "std::collections::HashMap", reason = "Non-deterministic iter - use indexmap::IndexMap instead" }, + { path = "std::collections::HashSet", reason = "Non-deterministic iter - use indexmap::IndexSet instead" }, +]