ruff: fix tests on darwin
This commit is contained in:
@@ -56,32 +56,12 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoCheckHook
|
||||
'';
|
||||
|
||||
# Failing on darwin for an unclear reason.
|
||||
# Failing on darwin for an unclear reason, but probably due to sandbox.
|
||||
# According to the maintainers, those tests are from an experimental crate that isn't actually
|
||||
# used by ruff currently and can thus be safely skipped.
|
||||
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"--skip=added_package"
|
||||
"--skip=add_search_path"
|
||||
"--skip=changed_file"
|
||||
"--skip=changed_versions_file"
|
||||
"--skip=deleted_file"
|
||||
"--skip=directory_deleted"
|
||||
"--skip=directory_moved_to_trash"
|
||||
"--skip=directory_moved_to_workspace"
|
||||
"--skip=directory_renamed"
|
||||
"--skip=hard_links_in_workspace"
|
||||
"--skip=hard_links_to_target_outside_workspace"
|
||||
"--skip=move_file_to_trash"
|
||||
"--skip=move_file_to_workspace"
|
||||
"--skip=nested_packages_delete_root"
|
||||
"--skip=new_file"
|
||||
"--skip=new_ignored_file"
|
||||
"--skip=removed_package"
|
||||
"--skip=rename_file"
|
||||
"--skip=search_path"
|
||||
"--skip=unix::changed_metadata"
|
||||
"--skip=unix::symlinked_module_search_path"
|
||||
"--skip=unix::symlink_inside_workspace"
|
||||
cargoTestFlags = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"--workspace"
|
||||
"--exclude=red_knot"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user