forked from prefix-dev/pixi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clippy.toml
28 lines (27 loc) · 896 Bytes
/
clippy.toml
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
# This lint does not follow raw pointers (*const T or *mut T) as Hash and Ord apply only to the address of the contained value.
# This can cause false negatives for custom collections that use raw pointers internally.
# See https://rust-lang.github.io/rust-clippy/master/index.html#/mutable_key_type
ignore-interior-mutability = [
"pixi::project::environment::Environment",
"pixi::project::solve_group::SolveGroup",
]
disallowed-methods = [
"std::fs::canonicalize",
"std::fs::copy",
"std::fs::create_dir",
"std::fs::create_dir_all",
"std::fs::hard_link",
"std::fs::metadata",
"std::fs::read",
"std::fs::read_dir",
"std::fs::read_link",
"std::fs::read_to_string",
"std::fs::remove_dir",
"std::fs::remove_dir_all",
"std::fs::remove_file",
"std::fs::rename",
"std::fs::set_permissions",
"std::fs::soft_link",
"std::fs::symlink_metadata",
"std::fs::write",
]