Files
uv/clippy.toml
T

44 lines
952 B
TOML
Raw Normal View History

doc-valid-idents = [
"PyPI",
2024-05-06 11:10:37 +02:00
"PubGrub",
2024-08-07 11:37:10 -05:00
"PyPy",
"CPython",
"GraalPy",
2025-02-18 13:31:37 -06:00
"ReFS",
"PyTorch",
"ROCm",
2025-06-20 20:33:20 -04:00
"XPU",
".." # Include the defaults
]
disallowed-types = [
"std::fs::DirEntry",
"std::fs::File",
"std::fs::OpenOptions",
"std::fs::ReadDir",
]
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",
{ path = "std::os::unix::fs::symlink", allow-invalid = true },
{ path = "std::os::windows::fs::symlink_dir", allow-invalid = true },
{ path = "std::os::windows::fs::symlink_file", allow-invalid = true },
2024-05-06 11:10:37 +02:00
]