Merge ~adam-collard/maas:bump-black-to-23.1 into maas:master

Proposed by Adam Collard
Status: Merged
Approved by: Adam Collard
Approved revision: 2386f55a753116174325750c49b362f370bb1262
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~adam-collard/maas:bump-black-to-23.1
Merge into: maas:master
Diff against target: 7758 lines (+21/-699)
536 files modified
setup.cfg (+3/-3)
src/maascli/init.py (+0/-1)
src/maascli/tests/test_snap.py (+0/-1)
src/maasserver/api/doc_oapi.py (+1/-1)
src/maasserver/api/support.py (+2/-1)
src/maasserver/api/tests/test_api.py (+0/-3)
src/maasserver/api/tests/test_interfaces.py (+0/-2)
src/maasserver/api/tests/test_ipaddresses.py (+0/-2)
src/maasserver/api/tests/test_maas.py (+0/-1)
src/maasserver/api/tests/test_node.py (+0/-1)
src/maasserver/api/tests/test_nodedevices.py (+0/-1)
src/maasserver/api/tests/test_not_found.py (+0/-1)
src/maasserver/auth/local.py (+0/-1)
src/maasserver/auth/tests/test_auth.py (+0/-2)
src/maasserver/conftest.py (+0/-1)
src/maasserver/enum.py (+0/-3)
src/maasserver/forms/pods.py (+0/-1)
src/maasserver/forms/script.py (+0/-1)
src/maasserver/forms/tests/test_filesystem.py (+0/-3)
src/maasserver/forms/tests/test_helpers.py (+0/-2)
src/maasserver/forms/tests/test_interface.py (+0/-2)
src/maasserver/forms/tests/test_raid.py (+0/-1)
src/maasserver/management/commands/_config.py (+0/-2)
src/maasserver/management/commands/configauth.py (+0/-1)
src/maasserver/management/commands/edit_named_options.py (+0/-1)
src/maasserver/management/commands/tests/test_config.py (+0/-3)
src/maasserver/management/commands/tests/test_dbupgrade.py (+0/-1)
src/maasserver/middleware.py (+0/-1)
src/maasserver/migrations/auth/0001_initial.py (+0/-1)
src/maasserver/migrations/auth/0002_auto_20151119_1629.py (+0/-1)
src/maasserver/migrations/auth/0003_django_1_11_update.py (+0/-1)
src/maasserver/migrations/auth/0004_user_email_allow_null.py (+0/-1)
src/maasserver/migrations/auth/0005_auto_20200626_1049.py (+0/-1)
src/maasserver/migrations/auth/0006_default_auto_field.py (+0/-1)
src/maasserver/migrations/maasserver/0001_initial.py (+0/-1)
src/maasserver/migrations/maasserver/0002_remove_candidate_name_model.py (+0/-1)
src/maasserver/migrations/maasserver/0003_add_node_type_to_node.py (+0/-1)
src/maasserver/migrations/maasserver/0004_migrate_installable_to_node_type.py (+0/-1)
src/maasserver/migrations/maasserver/0005_delete_installable_from_node.py (+0/-1)
src/maasserver/migrations/maasserver/0006_add_lease_time_to_staticipaddress.py (+0/-1)
src/maasserver/migrations/maasserver/0007_create_node_proxy_models.py (+0/-1)
src/maasserver/migrations/maasserver/0008_use_new_arrayfield.py (+0/-1)
src/maasserver/migrations/maasserver/0009_remove_routers_field_from_node.py (+0/-1)
src/maasserver/migrations/maasserver/0010_add_dns_models.py (+0/-1)
src/maasserver/migrations/maasserver/0011_domain_data.py (+0/-1)
src/maasserver/migrations/maasserver/0012_drop_dns_fields.py (+0/-1)
src/maasserver/migrations/maasserver/0013_remove_boot_type_from_node.py (+0/-1)
src/maasserver/migrations/maasserver/0014_add_region_models.py (+0/-1)
src/maasserver/migrations/maasserver/0015_add_bmc_model.py (+0/-1)
src/maasserver/migrations/maasserver/0016_migrate_power_data_node_to_bmc.py (+0/-1)
src/maasserver/migrations/maasserver/0017_remove_node_power_type.py (+0/-1)
src/maasserver/migrations/maasserver/0018_add_dnsdata.py (+0/-1)
src/maasserver/migrations/maasserver/0019_add_iprange.py (+0/-1)
src/maasserver/migrations/maasserver/0020_nodegroup_to_rackcontroller.py (+0/-1)
src/maasserver/migrations/maasserver/0021_nodegroupinterface_to_iprange.py (+0/-1)
src/maasserver/migrations/maasserver/0022_extract_ip_for_bmcs.py (+0/-1)
src/maasserver/migrations/maasserver/0023_add_ttl_field.py (+0/-1)
src/maasserver/migrations/maasserver/0024_remove_nodegroupinterface.py (+0/-1)
src/maasserver/migrations/maasserver/0025_create_node_system_id_sequence.py (+0/-1)
src/maasserver/migrations/maasserver/0026_create_zone_serial_sequence.py (+0/-1)
src/maasserver/migrations/maasserver/0027_replace_static_range_with_admin_reserved_ranges.py (+0/-1)
src/maasserver/migrations/maasserver/0028_update_default_vlan_on_interface_and_subnet.py (+0/-1)
src/maasserver/migrations/maasserver/0029_add_rdns_mode.py (+0/-1)
src/maasserver/migrations/maasserver/0030_drop_all_old_funcs.py (+0/-1)
src/maasserver/migrations/maasserver/0031_add_region_rack_rpc_conn_model.py (+0/-1)
src/maasserver/migrations/maasserver/0032_loosen_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0033_iprange_minor_changes.py (+0/-1)
src/maasserver/migrations/maasserver/0034_rename_mount_params_as_mount_options.py (+0/-1)
src/maasserver/migrations/maasserver/0035_convert_ether_wake_to_manual_power_type.py (+0/-1)
src/maasserver/migrations/maasserver/0036_add_service_model.py (+0/-1)
src/maasserver/migrations/maasserver/0037_node_last_image_sync.py (+0/-1)
src/maasserver/migrations/maasserver/0038_filesystem_ramfs_tmpfs_support.py (+0/-1)
src/maasserver/migrations/maasserver/0039_create_template_and_versionedtextfile_models.py (+0/-1)
src/maasserver/migrations/maasserver/0040_fix_id_seq.py (+0/-1)
src/maasserver/migrations/maasserver/0041_change_bmc_on_delete_to_set_null.py (+0/-1)
src/maasserver/migrations/maasserver/0042_add_routable_rack_controllers_to_bmc.py (+0/-1)
src/maasserver/migrations/maasserver/0043_dhcpsnippet.py (+0/-1)
src/maasserver/migrations/maasserver/0044_remove_di_bootresourcefiles.py (+0/-1)
src/maasserver/migrations/maasserver/0045_add_node_to_filesystem.py (+0/-1)
src/maasserver/migrations/maasserver/0046_add_bridge_interface_type.py (+0/-1)
src/maasserver/migrations/maasserver/0047_fix_spelling_of_degraded.py (+0/-1)
src/maasserver/migrations/maasserver/0048_add_subnet_allow_proxy.py (+0/-1)
src/maasserver/migrations/maasserver/0049_add_external_dhcp_present_to_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0050_modify_external_dhcp_on_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0051_space_fabric_unique.py (+0/-1)
src/maasserver/migrations/maasserver/0052_add_codename_title_eol_to_bootresourcecache.py (+0/-1)
src/maasserver/migrations/maasserver/0053_add_ownerdata_model.py (+0/-1)
src/maasserver/migrations/maasserver/0054_controller.py (+0/-1)
src/maasserver/migrations/maasserver/0055_dns_publications.py (+0/-1)
src/maasserver/migrations/maasserver/0056_add_description_to_fabric_and_space.py (+0/-1)
src/maasserver/migrations/maasserver/0056_zone_serial_ownership.py (+0/-1)
src/maasserver/migrations/maasserver/0057_initial_dns_publication.py (+0/-1)
src/maasserver/migrations/maasserver/0057_merge.py (+0/-1)
src/maasserver/migrations/maasserver/0058_bigger_integer_for_dns_publication_serial.py (+0/-1)
src/maasserver/migrations/maasserver/0059_merge.py (+0/-1)
src/maasserver/migrations/maasserver/0060_amt_remove_mac_address.py (+0/-1)
src/maasserver/migrations/maasserver/0061_maas_nodegroup_worker_to_maas.py (+0/-1)
src/maasserver/migrations/maasserver/0062_fix_bootsource_daily_label.py (+0/-1)
src/maasserver/migrations/maasserver/0063_remove_orphaned_bmcs_and_ips.py (+0/-1)
src/maasserver/migrations/maasserver/0064_remove_unneeded_event_triggers.py (+0/-1)
src/maasserver/migrations/maasserver/0065_larger_osystem_and_distro_series.py (+0/-1)
src/maasserver/migrations/maasserver/0066_allow_squashfs.py (+0/-1)
src/maasserver/migrations/maasserver/0067_add_size_to_largefile.py (+0/-1)
src/maasserver/migrations/maasserver/0068_drop_node_system_id_sequence.py (+0/-1)
src/maasserver/migrations/maasserver/0069_add_previous_node_status_to_node.py (+0/-1)
src/maasserver/migrations/maasserver/0070_allow_null_vlan_on_interface.py (+0/-1)
src/maasserver/migrations/maasserver/0071_ntp_server_to_ntp_servers.py (+0/-1)
src/maasserver/migrations/maasserver/0072_packagerepository.py (+0/-1)
src/maasserver/migrations/maasserver/0072_update_status_and_previous_status.py (+0/-1)
src/maasserver/migrations/maasserver/0073_migrate_package_repositories.py (+0/-1)
src/maasserver/migrations/maasserver/0074_merge.py (+0/-1)
src/maasserver/migrations/maasserver/0075_modify_packagerepository.py (+0/-1)
src/maasserver/migrations/maasserver/0076_interface_discovery_rescue_mode.py (+0/-1)
src/maasserver/migrations/maasserver/0077_static_routes.py (+0/-1)
src/maasserver/migrations/maasserver/0078_remove_packagerepository_description.py (+0/-1)
src/maasserver/migrations/maasserver/0079_add_keysource_model.py (+0/-1)
src/maasserver/migrations/maasserver/0080_change_packagerepository_url_type.py (+0/-1)
src/maasserver/migrations/maasserver/0081_allow_larger_bootsourcecache_fields.py (+0/-1)
src/maasserver/migrations/maasserver/0082_add_kflavor.py (+0/-1)
src/maasserver/migrations/maasserver/0083_device_discovery.py (+0/-1)
src/maasserver/migrations/maasserver/0084_add_default_user_to_node_model.py (+0/-1)
src/maasserver/migrations/maasserver/0085_no_intro_on_upgrade.py (+0/-1)
src/maasserver/migrations/maasserver/0086_remove_powerpc_from_ports_arches.py (+0/-1)
src/maasserver/migrations/maasserver/0087_add_completed_intro_to_userprofile.py (+0/-1)
src/maasserver/migrations/maasserver/0088_remove_node_disable_ipv4.py (+0/-1)
src/maasserver/migrations/maasserver/0089_active_discovery.py (+0/-1)
src/maasserver/migrations/maasserver/0090_bootloaders.py (+0/-1)
src/maasserver/migrations/maasserver/0091_v2_to_v3.py (+0/-1)
src/maasserver/migrations/maasserver/0092_rolling.py (+0/-1)
src/maasserver/migrations/maasserver/0093_add_rdns_model.py (+0/-1)
src/maasserver/migrations/maasserver/0094_add_unmanaged_subnets.py (+0/-1)
src/maasserver/migrations/maasserver/0095_vlan_relay_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0096_set_default_vlan_field.py (+0/-1)
src/maasserver/migrations/maasserver/0097_node_chassis_storage_hints.py (+0/-1)
src/maasserver/migrations/maasserver/0098_add_space_to_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0099_set_default_vlan_field.py (+0/-1)
src/maasserver/migrations/maasserver/0100_migrate_spaces_from_subnet_to_vlan.py (+0/-1)
src/maasserver/migrations/maasserver/0101_filesystem_btrfs_support.py (+0/-1)
src/maasserver/migrations/maasserver/0102_remove_space_from_subnet.py (+0/-1)
src/maasserver/migrations/maasserver/0103_notifications.py (+0/-1)
src/maasserver/migrations/maasserver/0104_notifications_dismissals.py (+0/-1)
src/maasserver/migrations/maasserver/0105_add_script_sets_to_node_model.py (+0/-1)
src/maasserver/migrations/maasserver/0106_testing_status.py (+0/-1)
src/maasserver/migrations/maasserver/0107_chassis_to_pods.py (+0/-1)
src/maasserver/migrations/maasserver/0108_generate_bmc_names.py (+0/-1)
src/maasserver/migrations/maasserver/0109_bmc_names_unique.py (+0/-1)
src/maasserver/migrations/maasserver/0110_notification_category.py (+0/-1)
src/maasserver/migrations/maasserver/0111_remove_component_error.py (+0/-1)
src/maasserver/migrations/maasserver/0112_update_notification.py (+0/-1)
src/maasserver/migrations/maasserver/0113_set_filepath_limit_to_linux_max.py (+0/-1)
src/maasserver/migrations/maasserver/0114_node_dynamic_to_creation_type.py (+0/-1)
src/maasserver/migrations/maasserver/0115_additional_boot_resource_filetypes.py (+0/-1)
src/maasserver/migrations/maasserver/0116_add_disabled_components_for_mirrors.py (+0/-1)
src/maasserver/migrations/maasserver/0117_add_iscsi_block_device.py (+0/-1)
src/maasserver/migrations/maasserver/0118_add_iscsi_storage_pod.py (+0/-1)
src/maasserver/migrations/maasserver/0119_set_default_vlan_field.py (+0/-1)
src/maasserver/migrations/maasserver/0120_bootsourcecache_extra.py (+0/-1)
src/maasserver/migrations/maasserver/0121_relax_staticipaddress_unique_constraint.py (+0/-1)
src/maasserver/migrations/maasserver/0122_make_virtualblockdevice_uuid_editable.py (+0/-1)
src/maasserver/migrations/maasserver/0123_make_iprange_comment_default_to_empty_string.py (+0/-1)
src/maasserver/migrations/maasserver/0124_staticipaddress_address_family_index.py (+0/-1)
src/maasserver/migrations/maasserver/0125_add_switch_model.py (+0/-1)
src/maasserver/migrations/maasserver/0126_add_controllerinfo_model.py (+0/-1)
src/maasserver/migrations/maasserver/0127_nodemetadata.py (+0/-1)
src/maasserver/migrations/maasserver/0128_events_created_index.py (+0/-1)
src/maasserver/migrations/maasserver/0129_add_install_rackd_flag.py (+0/-1)
src/maasserver/migrations/maasserver/0130_node_locked_flag.py (+0/-1)
src/maasserver/migrations/maasserver/0131_update_event_model_for_audit_logs.py (+0/-1)
src/maasserver/migrations/maasserver/0132_consistent_model_name_validation.py (+0/-1)
src/maasserver/migrations/maasserver/0133_add_resourcepool_model.py (+0/-1)
src/maasserver/migrations/maasserver/0134_create_default_resourcepool.py (+0/-1)
src/maasserver/migrations/maasserver/0135_add_pool_reference_to_node.py (+0/-1)
src/maasserver/migrations/maasserver/0136_add_user_role_models.py (+0/-1)
src/maasserver/migrations/maasserver/0137_create_default_roles.py (+0/-1)
src/maasserver/migrations/maasserver/0138_add_ip_and_user_agent_to_event_model.py (+0/-1)
src/maasserver/migrations/maasserver/0139_add_endpoint_and_increase_user_agent_length_for_event.py (+0/-1)
src/maasserver/migrations/maasserver/0140_add_usergroup_model.py (+0/-1)
src/maasserver/migrations/maasserver/0141_add_default_usergroup.py (+0/-1)
src/maasserver/migrations/maasserver/0142_pod_default_resource_pool.py (+0/-1)
src/maasserver/migrations/maasserver/0143_blockdevice_firmware.py (+0/-1)
src/maasserver/migrations/maasserver/0144_filesystem_zfsroot_support.py (+0/-1)
src/maasserver/migrations/maasserver/0145_interface_firmware.py (+0/-1)
src/maasserver/migrations/maasserver/0146_add_rootkey.py (+0/-1)
src/maasserver/migrations/maasserver/0147_pod_zones.py (+0/-1)
src/maasserver/migrations/maasserver/0148_add_tags_on_pods.py (+0/-1)
src/maasserver/migrations/maasserver/0149_userprofile_auth_last_check.py (+0/-1)
src/maasserver/migrations/maasserver/0150_add_pod_commit_ratios.py (+0/-1)
src/maasserver/migrations/maasserver/0151_userprofile_is_local.py (+0/-1)
src/maasserver/migrations/maasserver/0152_add_usergroup_local.py (+0/-1)
src/maasserver/migrations/maasserver/0153_add_skip_bmc_config.py (+0/-1)
src/maasserver/migrations/maasserver/0154_link_usergroup_role.py (+0/-1)
src/maasserver/migrations/maasserver/0155_add_globaldefaults_model.py (+0/-1)
src/maasserver/migrations/maasserver/0156_drop_ssh_unique_key_index.py (+0/-1)
src/maasserver/migrations/maasserver/0157_drop_usergroup_and_role.py (+0/-1)
src/maasserver/migrations/maasserver/0158_pod_default_pool_to_pod.py (+0/-1)
src/maasserver/migrations/maasserver/0159_userprofile_auth_last_check_no_now_default.py (+0/-1)
src/maasserver/migrations/maasserver/0160_pool_only_for_machines.py (+0/-1)
src/maasserver/migrations/maasserver/0161_pod_storage_pools.py (+0/-1)
src/maasserver/migrations/maasserver/0162_storage_pools_notification.py (+0/-1)
src/maasserver/migrations/maasserver/0163_create_new_power_parameters_with_jsonfield.py (+0/-1)
src/maasserver/migrations/maasserver/0164_copy_over_existing_power_parameters.py (+0/-1)
src/maasserver/migrations/maasserver/0165_remove_and_rename_power_parameters.py (+0/-1)
src/maasserver/migrations/maasserver/0166_auto_select_s390x_extra_arches.py (+0/-1)
src/maasserver/migrations/maasserver/0167_add_pod_host.py (+0/-1)
src/maasserver/migrations/maasserver/0168_add_pod_default_macvlan_mode.py (+0/-1)
src/maasserver/migrations/maasserver/0169_find_pod_host.py (+0/-1)
src/maasserver/migrations/maasserver/0170_add_subnet_allow_dns.py (+0/-1)
src/maasserver/migrations/maasserver/0171_remove_pod_host.py (+0/-1)
src/maasserver/migrations/maasserver/0172_partition_tags.py (+0/-1)
src/maasserver/migrations/maasserver/0173_add_node_install_kvm.py (+0/-1)
src/maasserver/migrations/maasserver/0174_add_user_id_and_node_system_id_for_events.py (+0/-1)
src/maasserver/migrations/maasserver/0175_copy_user_id_and_node_system_id_for_events.py (+0/-1)
src/maasserver/migrations/maasserver/0176_rename_user_id_migrate_to_user_id_for_events.py (+0/-1)
src/maasserver/migrations/maasserver/0177_remove_unique_together_on_bmc.py (+0/-1)
src/maasserver/migrations/maasserver/0178_break_apart_linked_bmcs.py (+0/-1)
src/maasserver/migrations/maasserver/0179_rbacsync.py (+0/-1)
src/maasserver/migrations/maasserver/0180_rbaclastsync.py (+0/-1)
src/maasserver/migrations/maasserver/0181_packagerepository_disable_sources.py (+0/-1)
src/maasserver/migrations/maasserver/0182_remove_duplicate_null_ips.py (+0/-1)
src/maasserver/migrations/maasserver/0183_node_uuid.py (+0/-1)
src/maasserver/migrations/maasserver/0184_add_ephemeral_deploy_setting_to_node.py (+0/-1)
src/maasserver/migrations/maasserver/0185_vmfs6.py (+0/-1)
src/maasserver/migrations/maasserver/0186_node_description.py (+0/-1)
src/maasserver/migrations/maasserver/0187_status_messages_change_event_logging_levels.py (+0/-1)
src/maasserver/migrations/maasserver/0188_network_testing.py (+0/-1)
src/maasserver/migrations/maasserver/0189_staticipaddress_temp_expires_on.py (+0/-1)
src/maasserver/migrations/maasserver/0190_bmc_clean_duplicates.py (+0/-1)
src/maasserver/migrations/maasserver/0191_bmc_unique_power_type_and_parameters.py (+0/-1)
src/maasserver/migrations/maasserver/0192_event_node_no_set_null.py (+0/-1)
src/maasserver/migrations/maasserver/0193_merge_maasserver_0191_1092.py (+0/-1)
src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py (+0/-1)
src/maasserver/migrations/maasserver/0195_event_username_max_length.py (+0/-1)
src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py (+0/-1)
src/maasserver/migrations/maasserver/0196_numa_model.py (+0/-1)
src/maasserver/migrations/maasserver/0197_remove_duplicate_physical_interfaces.py (+0/-1)
src/maasserver/migrations/maasserver/0198_interface_physical_unique_mac.py (+0/-1)
src/maasserver/migrations/maasserver/0199_bootresource_tbz_txz.py (+0/-1)
src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py (+0/-1)
src/maasserver/migrations/maasserver/0201_merge_20191008_1426.py (+0/-1)
src/maasserver/migrations/maasserver/0202_event_node_on_delete.py (+0/-1)
src/maasserver/migrations/maasserver/0203_interface_node_name_duplicates_delete.py (+0/-1)
src/maasserver/migrations/maasserver/0204_interface_node_name_unique_together.py (+0/-1)
src/maasserver/migrations/maasserver/0205_pod_nodes.py (+0/-1)
src/maasserver/migrations/maasserver/0206_remove_node_token.py (+0/-1)
src/maasserver/migrations/maasserver/0207_notification_dismissable.py (+0/-1)
src/maasserver/migrations/maasserver/0208_no_power_query_events.py (+0/-1)
src/maasserver/migrations/maasserver/0209_default_partitiontable_gpt.py (+0/-1)
src/maasserver/migrations/maasserver/0210_filepathfield_to_charfield.py (+0/-1)
src/maasserver/migrations/maasserver/0211_jsonfield_default_callable.py (+0/-1)
src/maasserver/migrations/maasserver/0212_notifications_fields.py (+0/-1)
src/maasserver/migrations/maasserver/0213_virtual_machine.py (+0/-1)
src/maasserver/migrations/maasserver/0214_virtualmachine_one_to_one.py (+0/-1)
src/maasserver/migrations/maasserver/0215_numanode_hugepages.py (+0/-1)
src/maasserver/migrations/maasserver/0216_remove_skip_bmc_config_column.py (+0/-1)
src/maasserver/migrations/maasserver/0217_notification_dismissal_timestamp.py (+0/-1)
src/maasserver/migrations/maasserver/0218_images_maas_io_daily_to_stable.py (+0/-1)
src/maasserver/migrations/maasserver/0219_vm_nic_link.py (+0/-1)
src/maasserver/migrations/maasserver/0220_nodedevice.py (+0/-1)
src/maasserver/migrations/maasserver/0221_track_lxd_project.py (+0/-1)
src/maasserver/migrations/maasserver/0222_replace_node_creation_type.py (+0/-1)
src/maasserver/migrations/maasserver/0223_virtualmachine_blank_project.py (+0/-1)
src/maasserver/migrations/maasserver/0224_virtual_machine_disk.py (+0/-1)
src/maasserver/migrations/maasserver/0225_drop_rsd_pod.py (+0/-1)
src/maasserver/migrations/maasserver/0226_drop_iscsi_storage.py (+0/-1)
src/maasserver/migrations/maasserver/0227_drop_pod_local_storage.py (+0/-1)
src/maasserver/migrations/maasserver/0228_drop_iscsiblockdevice.py (+0/-1)
src/maasserver/migrations/maasserver/0229_drop_physicalblockdevice_storage_pool.py (+0/-1)
src/maasserver/migrations/maasserver/0230_tag_kernel_opts_blank_instead_of_null.py (+0/-1)
src/maasserver/migrations/maasserver/0231_bmc_version.py (+0/-1)
src/maasserver/migrations/maasserver/0232_drop_controllerinfo_interface_fields.py (+0/-1)
src/maasserver/migrations/maasserver/0233_drop_switch.py (+0/-1)
src/maasserver/migrations/maasserver/0234_node_register_vmhost.py (+0/-1)
src/maasserver/migrations/maasserver/0235_controllerinfo_versions_details.py (+0/-1)
src/maasserver/migrations/maasserver/0236_controllerinfo_update_first_reported.py (+0/-1)
src/maasserver/migrations/maasserver/0237_drop_controller_version_mismatch_notifications.py (+0/-1)
src/maasserver/migrations/maasserver/0238_disable_boot_architectures.py (+0/-1)
src/maasserver/migrations/maasserver/0239_add_iprange_specific_dhcp_snippets.py (+0/-1)
src/maasserver/migrations/maasserver/0240_ownerdata_key_fix.py (+0/-1)
src/maasserver/migrations/maasserver/0241_physical_interface_default_node_numanode.py (+0/-1)
src/maasserver/migrations/maasserver/0242_forwarddnsserver.py (+0/-1)
src/maasserver/migrations/maasserver/0243_node_dynamic_for_controller_and_vmhost.py (+0/-1)
src/maasserver/migrations/maasserver/0244_controller_nodes_deployed.py (+0/-1)
src/maasserver/migrations/maasserver/0245_bmc_power_parameters_index_hash.py (+0/-1)
src/maasserver/migrations/maasserver/0246_bootresource_custom_base_type.py (+0/-1)
src/maasserver/migrations/maasserver/0247_auto_20210915_1545.py (+0/-1)
src/maasserver/migrations/maasserver/0248_auto_20211006_1829.py (+0/-1)
src/maasserver/migrations/maasserver/0249_lxd_auth_metrics.py (+0/-1)
src/maasserver/migrations/maasserver/0250_node_last_applied_storage_layout.py (+0/-1)
src/maasserver/migrations/maasserver/0251_auto_20211027_2128.py (+0/-1)
src/maasserver/migrations/maasserver/0252_drop_fannetwork.py (+0/-1)
src/maasserver/migrations/maasserver/0253_nodeconfig.py (+0/-1)
src/maasserver/migrations/maasserver/0254_default_nodeconfig_devices.py (+0/-1)
src/maasserver/migrations/maasserver/0255_node_current_config.py (+0/-1)
src/maasserver/migrations/maasserver/0256_blockdevice_nodeconfig_only.py (+0/-1)
src/maasserver/migrations/maasserver/0257_filesystem_populate_node_config_id.py (+0/-1)
src/maasserver/migrations/maasserver/0258_filesystem_nodeconfig_only.py (+0/-1)
src/maasserver/migrations/maasserver/0259_add_hardware_sync_flag.py (+0/-1)
src/maasserver/migrations/maasserver/0260_drop_maas_support_views.py (+0/-1)
src/maasserver/migrations/maasserver/0261_interface_nodeconfig_only.py (+0/-1)
src/maasserver/migrations/maasserver/0262_nodeconfig_link_replace_node.py (+0/-1)
src/maasserver/migrations/maasserver/0263_vlan_racks_on_delete.py (+0/-1)
src/maasserver/migrations/maasserver/0264_nodedevice_nodeconfig_link.py (+0/-1)
src/maasserver/migrations/maasserver/0265_nodedevice_nodeconfig_migrate.py (+0/-1)
src/maasserver/migrations/maasserver/0266_nodedevice_unlink_node.py (+0/-1)
src/maasserver/migrations/maasserver/0267_add_machine_specific_sync_interval_fields.py (+0/-1)
src/maasserver/migrations/maasserver/0268_partition_index.py (+0/-1)
src/maasserver/migrations/maasserver/0269_interface_idx_include_nodeconfig.py (+0/-1)
src/maasserver/migrations/maasserver/0270_storage_uuid_drop_unique.py (+0/-1)
src/maasserver/migrations/maasserver/0271_interface_unique.py (+0/-1)
src/maasserver/migrations/maasserver/0272_virtualmachine_resources_unique.py (+0/-1)
src/maasserver/migrations/maasserver/0273_ipaddress_defaults.py (+0/-1)
src/maasserver/migrations/maasserver/0274_audit_log_add_endpoint_cli_type.py (+0/-1)
src/maasserver/migrations/maasserver/0275_interface_children.py (+0/-1)
src/maasserver/migrations/maasserver/0276_bmc_autodetect_metric.py (+0/-1)
src/maasserver/migrations/maasserver/0277_replace_nullbooleanfield.py (+0/-1)
src/maasserver/migrations/maasserver/0278_generic_jsonfield.py (+0/-1)
src/maasserver/migrations/maasserver/0279_store_vpd_metadata_for_nodedevice.py (+0/-1)
src/maasserver/migrations/maasserver/0280_set_parent_for_existing_vms.py (+0/-1)
src/maasserver/migrations/maasserver/0281_secret_model.py (+0/-1)
src/maasserver/migrations/maasserver/0282_rpc_shared_secret_to_secret.py (+0/-1)
src/maasserver/migrations/maasserver/0283_migrate_tls_secrets.py (+0/-1)
src/maasserver/migrations/maasserver/0284_migrate_more_global_secrets.py (+0/-1)
src/maasserver/migrations/maasserver/0285_migrate_external_auth_secrets.py (+0/-1)
src/maasserver/migrations/maasserver/0286_node_deploy_metadata.py (+0/-1)
src/maasserver/migrations/maasserver/0287_add_controller_info_vault_flag.py (+0/-1)
src/maasserver/migrations/maasserver/0288_rootkey_material_secret.py (+0/-1)
src/maasserver/migrations/maasserver/0289_vault_secret.py (+0/-1)
src/maasserver/migrations/maasserver/0290_migrate_node_power_parameters.py (+0/-1)
src/maasserver/migrations/maasserver/0291_rdns_hostnames_as_array.py (+0/-1)
src/maasserver/migrations/maasserver/0292_use_builtin_json_field.py (+0/-1)
src/maasserver/migrations/piston3/0001_initial.py (+0/-1)
src/maasserver/migrations/piston3/0002_auto_20151209_1652.py (+0/-1)
src/maasserver/migrations/piston3/0003_piston_nonce_index.py (+0/-1)
src/maasserver/models/dhcpsnippet.py (+0/-1)
src/maasserver/models/forwarddnsserver.py (+2/-1)
src/maasserver/models/signals/tests/test_interfaces.py (+0/-2)
src/maasserver/models/signals/tests/test_scriptresult.py (+0/-3)
src/maasserver/models/signals/tests/test_subnet.py (+0/-1)
src/maasserver/models/subnet.py (+0/-1)
src/maasserver/models/tests/test_blockdevice.py (+1/-3)
src/maasserver/models/tests/test_filesystemgroup.py (+0/-3)
src/maasserver/models/tests/test_interface.py (+0/-2)
src/maasserver/models/tests/test_iprange.py (+0/-1)
src/maasserver/models/tests/test_largefile.py (+0/-2)
src/maasserver/models/tests/test_managers.py (+0/-1)
src/maasserver/models/tests/test_node.py (+0/-4)
src/maasserver/models/tests/test_subnet.py (+0/-1)
src/maasserver/models/tests/test_vlan.py (+0/-2)
src/maasserver/models/virtualblockdevice.py (+0/-1)
src/maasserver/models/virtualmachine.py (+0/-1)
src/maasserver/node_constraint_filter_forms.py (+1/-3)
src/maasserver/preseed.py (+0/-1)
src/maasserver/regiondservices/ntp.py (+0/-1)
src/maasserver/regiondservices/syslog.py (+0/-1)
src/maasserver/release_notifications.py (+0/-2)
src/maasserver/testing/commissioning.py (+0/-2)
src/maasserver/testing/factory.py (+0/-1)
src/maasserver/testing/sampledata/rackcontroller.py (+0/-1)
src/maasserver/testing/sampledata/vmhost.py (+0/-1)
src/maasserver/testing/testcase.py (+2/-0)
src/maasserver/tests/test_compose_preseed.py (+0/-2)
src/maasserver/tests/test_fields.py (+0/-4)
src/maasserver/tests/test_ipc.py (+0/-1)
src/maasserver/tests/test_node_action.py (+0/-2)
src/maasserver/tests/test_node_constraint_filter_forms.py (+0/-4)
src/maasserver/tests/test_preseed_network.py (+0/-3)
src/maasserver/tests/test_preseed_storage.py (+0/-18)
src/maasserver/tests/test_stats.py (+0/-1)
src/maasserver/tests/test_status_monitor.py (+0/-1)
src/maasserver/tests/test_vmhost.py (+1/-4)
src/maasserver/triggers/testing.py (+0/-1)
src/maasserver/triggers/tests/test_websocket_listener.py (+0/-3)
src/maasserver/triggers/websocket.py (+1/-2)
src/maasserver/urls_api.py (+1/-1)
src/maasserver/utils/tests/test_asynchronous.py (+0/-1)
src/maasserver/utils/tests/test_converters.py (+0/-1)
src/maasserver/utils/tests/test_dblocks.py (+0/-2)
src/maasserver/utils/tests/test_storage.py (+0/-1)
src/maasserver/utils/tests/test_utils.py (+0/-1)
src/maasserver/views/rpc.py (+1/-0)
src/maasserver/websockets/handlers/tests/test_machine.py (+0/-1)
src/maasserver/websockets/tests/test_websockets.py (+0/-1)
src/maastesting/djangoclient.py (+0/-1)
src/maastesting/factory.py (+0/-1)
src/maastesting/matchers.py (+0/-1)
src/maastesting/pytest/django.py (+0/-2)
src/maastesting/tests/test_matchers.py (+0/-1)
src/maastesting/tests/test_runtest.py (+0/-1)
src/maastesting/tests/test_scenarios.py (+0/-2)
src/metadataserver/api.py (+0/-1)
src/metadataserver/api_twisted.py (+0/-1)
src/metadataserver/builtin_scripts/__init__.py (+0/-2)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+0/-1)
src/metadataserver/builtin_scripts/testing_scripts/tests/test_fio.py (+0/-2)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+0/-5)
src/metadataserver/enum.py (+0/-5)
src/metadataserver/migrations/0001_initial.py (+0/-1)
src/metadataserver/migrations/0002_script_models.py (+0/-1)
src/metadataserver/migrations/0003_remove_noderesult.py (+0/-1)
src/metadataserver/migrations/0004_aborted_script_status.py (+0/-1)
src/metadataserver/migrations/0005_store_powerstate_on_scriptset_creation.py (+0/-1)
src/metadataserver/migrations/0006_scriptresult_combined_output.py (+0/-1)
src/metadataserver/migrations/0007_migrate-commissioningscripts.py (+0/-1)
src/metadataserver/migrations/0008_remove-commissioningscripts.py (+0/-1)
src/metadataserver/migrations/0009_remove_noderesult_schema.py (+0/-1)
src/metadataserver/migrations/0010_scriptresult_time_and_script_title.py (+0/-1)
src/metadataserver/migrations/0011_script_metadata.py (+0/-1)
src/metadataserver/migrations/0012_store_script_results.py (+0/-1)
src/metadataserver/migrations/0013_scriptresult_physicalblockdevice.py (+0/-1)
src/metadataserver/migrations/0014_rename_dhcp_unconfigured_ifaces.py (+0/-1)
src/metadataserver/migrations/0015_migrate_storage_tests.py (+0/-1)
src/metadataserver/migrations/0016_script_model_fw_update_and_hw_config.py (+0/-1)
src/metadataserver/migrations/0017_store_requested_scripts.py (+0/-1)
src/metadataserver/migrations/0018_script_result_skipped.py (+0/-1)
src/metadataserver/migrations/0019_add_script_result_suppressed.py (+0/-1)
src/metadataserver/migrations/0020_network_testing.py (+0/-1)
src/metadataserver/migrations/0021_scriptresult_applying_netconf.py (+0/-1)
src/metadataserver/migrations/0022_internet-connectivity-network-validation.py (+0/-1)
src/metadataserver/migrations/0023_reorder_network_scripts.py (+0/-1)
src/metadataserver/migrations/0024_reorder_commissioning_scripts.py (+0/-1)
src/metadataserver/migrations/0025_nodedevice.py (+0/-1)
src/metadataserver/migrations/0026_drop_ipaddr_script.py (+0/-1)
src/metadataserver/migrations/0027_reorder_machine_resources_script.py (+0/-1)
src/metadataserver/migrations/0028_scriptset_requested_scripts_rename.py (+0/-1)
src/metadataserver/migrations/0029_scriptset_tags_cleanup.py (+0/-1)
src/metadataserver/migrations/0030_scriptresult_script_link.py (+0/-1)
src/metadataserver/migrations/0031_id_field_bigint.py (+0/-1)
src/metadataserver/migrations/0032_default_auto_field.py (+0/-1)
src/metadataserver/migrations/0033_remove_nodekey_key.py (+0/-1)
src/metadataserver/migrations/0034_use_builtin_json_field.py (+0/-1)
src/metadataserver/models/script.py (+0/-1)
src/metadataserver/models/scriptresult.py (+0/-1)
src/metadataserver/models/scriptset.py (+0/-1)
src/metadataserver/user_data/tests/test_generate_user_data.py (+0/-1)
src/provisioningserver/boot/grub.py (+0/-6)
src/provisioningserver/boot/powernv.py (+0/-1)
src/provisioningserver/boot/pxe.py (+0/-1)
src/provisioningserver/boot/s390x.py (+0/-1)
src/provisioningserver/boot/s390x_partition.py (+0/-1)
src/provisioningserver/boot/tests/test_boot.py (+0/-2)
src/provisioningserver/boot/tests/test_windows.py (+0/-2)
src/provisioningserver/boot/windows.py (+0/-1)
src/provisioningserver/dhcp/tests/test_detect.py (+0/-1)
src/provisioningserver/dhcp/tests/test_helper_notify.py (+0/-1)
src/provisioningserver/dns/tests/test_zoneconfig.py (+1/-1)
src/provisioningserver/dns/zoneconfig.py (+0/-1)
src/provisioningserver/drivers/hardware/seamicro.py (+0/-1)
src/provisioningserver/drivers/hardware/tests/test_ucsm.py (+0/-2)
src/provisioningserver/drivers/hardware/tests/test_vmware.py (+0/-1)
src/provisioningserver/drivers/hardware/virsh.py (+0/-1)
src/provisioningserver/drivers/hardware/vmware.py (+0/-1)
src/provisioningserver/drivers/osystem/bootloader.py (+0/-1)
src/provisioningserver/drivers/osystem/tests/test_base.py (+0/-1)
src/provisioningserver/drivers/pod/lxd.py (+0/-1)
src/provisioningserver/drivers/pod/tests/test_base.py (+0/-2)
src/provisioningserver/drivers/pod/tests/test_lxd.py (+0/-2)
src/provisioningserver/drivers/pod/tests/test_virsh.py (+0/-1)
src/provisioningserver/drivers/pod/virsh.py (+0/-2)
src/provisioningserver/drivers/power/amt.py (+0/-1)
src/provisioningserver/drivers/power/apc.py (+0/-1)
src/provisioningserver/drivers/power/eaton.py (+0/-1)
src/provisioningserver/drivers/power/hmc.py (+0/-1)
src/provisioningserver/drivers/power/hmcz.py (+0/-1)
src/provisioningserver/drivers/power/ipmi.py (+0/-2)
src/provisioningserver/drivers/power/manual.py (+0/-1)
src/provisioningserver/drivers/power/moonshot.py (+0/-1)
src/provisioningserver/drivers/power/mscm.py (+0/-1)
src/provisioningserver/drivers/power/msftocs.py (+0/-1)
src/provisioningserver/drivers/power/nova.py (+0/-1)
src/provisioningserver/drivers/power/openbmc.py (+0/-1)
src/provisioningserver/drivers/power/proxmox.py (+0/-1)
src/provisioningserver/drivers/power/raritan.py (+0/-1)
src/provisioningserver/drivers/power/recs.py (+0/-1)
src/provisioningserver/drivers/power/redfish.py (+0/-1)
src/provisioningserver/drivers/power/seamicro.py (+0/-1)
src/provisioningserver/drivers/power/tests/test_base.py (+0/-6)
src/provisioningserver/drivers/power/tests/test_hmcz.py (+0/-3)
src/provisioningserver/drivers/power/tests/test_mscm.py (+0/-2)
src/provisioningserver/drivers/power/tests/test_openbmc.py (+0/-1)
src/provisioningserver/drivers/power/tests/test_proxmox.py (+0/-2)
src/provisioningserver/drivers/power/tests/test_redfish.py (+0/-1)
src/provisioningserver/drivers/power/tests/test_webhook.py (+0/-1)
src/provisioningserver/drivers/power/ucsm.py (+0/-1)
src/provisioningserver/drivers/power/vmware.py (+0/-1)
src/provisioningserver/drivers/power/webhook.py (+0/-1)
src/provisioningserver/drivers/power/wedge.py (+0/-1)
src/provisioningserver/drivers/tests/test_base.py (+0/-1)
src/provisioningserver/enum.py (+0/-2)
src/provisioningserver/kernel_opts.py (+0/-1)
src/provisioningserver/power_driver_command.py (+0/-2)
src/provisioningserver/prometheus/tests/test_utils.py (+0/-1)
src/provisioningserver/rackdservices/external.py (+0/-1)
src/provisioningserver/rackdservices/http.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_dhcp_probe_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_http.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_image_download_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_lease_socket_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_networks_monitoring_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_node_power_monitor_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_service_monitor_service.py (+0/-1)
src/provisioningserver/rackdservices/tests/test_tftp.py (+0/-3)
src/provisioningserver/rackdservices/tests/test_version_update_check.py (+0/-2)
src/provisioningserver/refresh/maas_api_helper.py (+0/-1)
src/provisioningserver/refresh/tests/test_refresh.py (+0/-2)
src/provisioningserver/rpc/interfaces.py (+0/-2)
src/provisioningserver/rpc/tests/test_arguments.py (+0/-4)
src/provisioningserver/rpc/tests/test_boot_images.py (+0/-2)
src/provisioningserver/rpc/tests/test_clusterservice.py (+0/-30)
src/provisioningserver/rpc/tests/test_common.py (+0/-1)
src/provisioningserver/rpc/tests/test_connectionpool.py (+0/-1)
src/provisioningserver/rpc/tests/test_dhcp.py (+0/-2)
src/provisioningserver/rpc/tests/test_docs.py (+0/-1)
src/provisioningserver/rpc/tests/test_osystems.py (+0/-1)
src/provisioningserver/rpc/tests/test_pods.py (+0/-5)
src/provisioningserver/rpc/tests/test_power.py (+0/-6)
src/provisioningserver/rpc/tests/test_utils.py (+0/-2)
src/provisioningserver/service_monitor.py (+0/-2)
src/provisioningserver/testing/os.py (+0/-2)
src/provisioningserver/tests/test_power_driver_command.py (+0/-4)
src/provisioningserver/tests/test_support_dump.py (+0/-1)
src/provisioningserver/tests/test_tags.py (+0/-1)
src/provisioningserver/utils/deb.py (+4/-1)
src/provisioningserver/utils/lxd.py (+0/-1)
src/provisioningserver/utils/testing.py (+0/-1)
src/provisioningserver/utils/tests/test_dhclient.py (+0/-1)
src/provisioningserver/utils/tests/test_fs.py (+0/-1)
src/provisioningserver/utils/tests/test_network.py (+0/-1)
src/provisioningserver/utils/tests/test_ps.py (+0/-2)
src/provisioningserver/utils/tests/test_service_monitor.py (+0/-1)
src/provisioningserver/utils/tests/test_services.py (+0/-1)
src/provisioningserver/utils/tests/test_tftp.py (+0/-1)
src/provisioningserver/utils/tests/test_twisted.py (+0/-8)
src/provisioningserver/utils/tests/test_url.py (+0/-1)
src/provisioningserver/utils/tests/test_version.py (+0/-2)
src/provisioningserver/utils/tests/test_xpath.py (+0/-1)
src/provisioningserver/utils/twisted.py (+0/-1)
Reviewer Review Type Date Requested Status
MAAS Lander Approve
Thorsten Merten Approve
Review via email: mp+437195@code.launchpad.net

Commit message

[lint] Bump black to 23.1, re-run black

Bump flake8 and isort to latest versions

To post a comment you must log in.
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

minor comment inline

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b bump-black-to-23.1 lp:~adam-collard/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/maas-tester/1933/consoleText
COMMIT: 2386f55a753116174325750c49b362f370bb1262

review: Needs Fixing
Revision history for this message
Adam Collard (adam-collard) wrote :

jenkins: !test

Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b bump-black-to-23.1 lp:~adam-collard/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: 2386f55a753116174325750c49b362f370bb1262

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/setup.cfg b/setup.cfg
2index 060f957..3040ef0 100644
3--- a/setup.cfg
4+++ b/setup.cfg
5@@ -104,9 +104,9 @@ cog_files =
6
7
8 deps_lint =
9- black == 22.6.0
10- flake8 == 5.0.4
11- isort == 5.7.0
12+ black == 23.1.0
13+ flake8 == 6.0.0
14+ isort == 5.12.0
15 cogapp == 3.3.0
16 click == 8.1.3
17
18diff --git a/src/maascli/init.py b/src/maascli/init.py
19index 6d70ee5..589cb62 100644
20--- a/src/maascli/init.py
21+++ b/src/maascli/init.py
22@@ -23,7 +23,6 @@ def deprecated_for(new_option):
23 """
24
25 class DeprecatedAction(argparse.Action):
26-
27 _new_option = new_option
28 _deprecation_message = (
29 'Note: "{option_string}" is deprecated and will be removed, '
30diff --git a/src/maascli/tests/test_snap.py b/src/maascli/tests/test_snap.py
31index 00f5262..a4fad9e 100644
32--- a/src/maascli/tests/test_snap.py
33+++ b/src/maascli/tests/test_snap.py
34@@ -129,7 +129,6 @@ class TestHelpers(MAASTestCase):
35
36
37 class TestRenderSupervisord:
38-
39 TEST_TEMPLATE = dedent(
40 """\
41 {{if regiond}}
42diff --git a/src/maasserver/api/doc_oapi.py b/src/maasserver/api/doc_oapi.py
43index c0d0212..e252bbc 100644
44--- a/src/maasserver/api/doc_oapi.py
45+++ b/src/maasserver/api/doc_oapi.py
46@@ -241,7 +241,7 @@ def _oapi_item_from_docstring(
47 if required:
48 body.setdefault("required", []).append(name)
49
50- for (status, content) in _response_pair(ap_dict):
51+ for status, content in _response_pair(ap_dict):
52 response = {
53 "description": _prettify(
54 content.get(
55diff --git a/src/maasserver/api/support.py b/src/maasserver/api/support.py
56index db8b222..0c1eb67 100644
57--- a/src/maasserver/api/support.py
58+++ b/src/maasserver/api/support.py
59@@ -150,7 +150,8 @@ def operation(idempotent, exported_as=None):
60 def deprecated(use):
61 """Decorator to note a method or class is deprecated on the API.
62
63- :param use: Name of the method or class that should be used in place of this method"""
64+ :param use: Name of the method or class that should be used in place of this method
65+ """
66
67 # TODO: Determine any other behaviours we might want from this decorator in future
68
69diff --git a/src/maasserver/api/tests/test_api.py b/src/maasserver/api/tests/test_api.py
70index a51f493..95ea4ea 100644
71--- a/src/maasserver/api/tests/test_api.py
72+++ b/src/maasserver/api/tests/test_api.py
73@@ -143,7 +143,6 @@ class TestXSSBugs(APITestCase.ForUser):
74
75
76 class TestAccountAPI(APITestCase.ForUser):
77-
78 clientfactories = {
79 "user+pass": MAASSensibleClient,
80 "oauth": MAASSensibleOAuthClient,
81@@ -619,7 +618,6 @@ class TestMAASAPIAnon(APITestCase.ForAnonymous):
82
83
84 class TestMAASAPIVersioning(APITestCase.ForAnonymousAndUserAndAdmin):
85-
86 clientfactories = {
87 "user+pass": MAASSensibleClient,
88 "oauth": MAASSensibleOAuthClient,
89@@ -649,7 +647,6 @@ class TestMAASAPIVersioning(APITestCase.ForAnonymousAndUserAndAdmin):
90
91
92 class TestMAASAPI(APITestCase.ForUser):
93-
94 clientfactories = {
95 "user+pass": MAASSensibleClient,
96 "oauth": MAASSensibleOAuthClient,
97diff --git a/src/maasserver/api/tests/test_interfaces.py b/src/maasserver/api/tests/test_interfaces.py
98index 1b4a21a..9ead44f 100644
99--- a/src/maasserver/api/tests/test_interfaces.py
100+++ b/src/maasserver/api/tests/test_interfaces.py
101@@ -805,7 +805,6 @@ class TestInterfacesAPI(APITestCase.ForUser):
102
103
104 class TestInterfacesAPIForControllers(APITestCase.ForUser):
105-
106 scenarios = (
107 ("region", {"maker": factory.make_RegionController}),
108 ("rack", {"maker": factory.make_RackController}),
109@@ -2002,7 +2001,6 @@ class TestNodeInterfaceAPI(APITransactionTestCase.ForUser):
110
111
112 class TestInterfaceAPIForControllers(APITestCase.ForUser):
113-
114 scenarios = (
115 ("region", {"maker": factory.make_RegionController}),
116 ("rack", {"maker": factory.make_RackController}),
117diff --git a/src/maasserver/api/tests/test_ipaddresses.py b/src/maasserver/api/tests/test_ipaddresses.py
118index 082d1a3..63c9d60 100644
119--- a/src/maasserver/api/tests/test_ipaddresses.py
120+++ b/src/maasserver/api/tests/test_ipaddresses.py
121@@ -224,7 +224,6 @@ class TestIPAddressesAPI(APITestCase.ForUserAndAdmin):
122
123
124 class TestIPAddressesReleaseAPI(APITransactionTestCase.ForUserAndAdmin):
125-
126 scenarios = (
127 ("normal", {"force": None}),
128 ("without_force", {"force": False}),
129@@ -445,7 +444,6 @@ class TestIPAddressesReleaseAPI(APITransactionTestCase.ForUserAndAdmin):
130
131
132 class TestIPAddressesReserveAPI(APITransactionTestCase.ForUser):
133-
134 scenarios = (
135 ("with_ip_param", {"ip_param": "ip"}),
136 ("with_ip_address_param", {"ip_param": "ip_address"}),
137diff --git a/src/maasserver/api/tests/test_maas.py b/src/maasserver/api/tests/test_maas.py
138index aa12222..53e716c 100644
139--- a/src/maasserver/api/tests/test_maas.py
140+++ b/src/maasserver/api/tests/test_maas.py
141@@ -419,7 +419,6 @@ class TestMAASHandlerAPI(APITestCase.ForUser):
142
143
144 class TestMAASHandlerAPIForProxyPort(APITestCase.ForUser):
145-
146 scenarios = [
147 ("valid-port", {"port": random.randint(5300, 65535), "valid": True}),
148 (
149diff --git a/src/maasserver/api/tests/test_node.py b/src/maasserver/api/tests/test_node.py
150index 53dba0c..32a99cc 100644
151--- a/src/maasserver/api/tests/test_node.py
152+++ b/src/maasserver/api/tests/test_node.py
153@@ -605,7 +605,6 @@ class TestPowerParameters(APITestCase.ForUser):
154
155
156 class TestSetWorkloadAnnotations(APITestCase.ForUser):
157-
158 scenarios = (
159 (
160 "machine",
161diff --git a/src/maasserver/api/tests/test_nodedevices.py b/src/maasserver/api/tests/test_nodedevices.py
162index 5f64216..2b8f257 100644
163--- a/src/maasserver/api/tests/test_nodedevices.py
164+++ b/src/maasserver/api/tests/test_nodedevices.py
165@@ -39,7 +39,6 @@ class TestNodeDevicesAPI(APITestCase.ForUser):
166
167
168 class TestNodeDevicesAPIFilter(APITestCase.ForUser):
169-
170 scenarios = [
171 ("filter=bus", {"choices": NODE_DEVICE_BUS_CHOICES, "key": "bus"}),
172 (
173diff --git a/src/maasserver/api/tests/test_not_found.py b/src/maasserver/api/tests/test_not_found.py
174index e7b2822..0392df6 100644
175--- a/src/maasserver/api/tests/test_not_found.py
176+++ b/src/maasserver/api/tests/test_not_found.py
177@@ -14,7 +14,6 @@ from maasserver.testing.factory import factory
178
179
180 class TestNotFoundHandler(APITestCase.ForAnonymousAndUserAndAdmin):
181-
182 scenarios = (
183 ("GET", dict(method="get")),
184 ("POST", dict(method="post")),
185diff --git a/src/maasserver/auth/local.py b/src/maasserver/auth/local.py
186index 904484f..f0e55c2 100644
187--- a/src/maasserver/auth/local.py
188+++ b/src/maasserver/auth/local.py
189@@ -60,7 +60,6 @@ ADMIN_PERMISSIONS = (
190
191
192 class MAASAuthorizationBackend(ModelBackend):
193-
194 supports_object_permissions = True
195
196 def authenticate(self, request, username=None, password=None, **kwargs):
197diff --git a/src/maasserver/auth/tests/test_auth.py b/src/maasserver/auth/tests/test_auth.py
198index 0a67fb4..d1ab9b1 100644
199--- a/src/maasserver/auth/tests/test_auth.py
200+++ b/src/maasserver/auth/tests/test_auth.py
201@@ -1056,7 +1056,6 @@ class TestMAASAuthorizationBackendInterface(
202
203
204 class TestMAASAuthorizationBackendForUnrestrictedRead(MAASServerTestCase):
205-
206 scenarios = (
207 ("dnsdata", {"factory": factory.make_DNSData}),
208 ("dnsresource", {"factory": factory.make_DNSResource}),
209@@ -1120,7 +1119,6 @@ class TestMAASAuthorizationBackendForUnrestrictedRead(MAASServerTestCase):
210
211
212 class TestMAASAuthorizationBackendForAdminRestricted(MAASServerTestCase):
213-
214 scenarios = (("discovery", {"factory": factory.make_Discovery}),)
215
216 def test_user_cannot_view(self):
217diff --git a/src/maasserver/conftest.py b/src/maasserver/conftest.py
218index 063bfe9..2ebad31 100644
219--- a/src/maasserver/conftest.py
220+++ b/src/maasserver/conftest.py
221@@ -38,7 +38,6 @@ def vault_regionconfig(mocker):
222
223
224 class MockKVStore:
225-
226 expected_mount_point = "secret"
227
228 def __init__(self):
229diff --git a/src/maasserver/enum.py b/src/maasserver/enum.py
230index 1238e58..736ad3f 100644
231--- a/src/maasserver/enum.py
232+++ b/src/maasserver/enum.py
233@@ -395,7 +395,6 @@ IPRANGE_TYPE_CHOICES = (
234
235
236 class POWER_STATE:
237-
238 # Node is on
239 ON = "on"
240
241@@ -871,7 +870,6 @@ class NODE_METADATA:
242
243
244 class ENDPOINT:
245-
246 API = 0
247 UI = 1
248 CLI = 2
249@@ -885,7 +883,6 @@ ENDPOINT_CHOICES = (
250
251
252 class NODE_DEVICE_BUS:
253-
254 PCIE = 1
255 USB = 2
256
257diff --git a/src/maasserver/forms/pods.py b/src/maasserver/forms/pods.py
258index 55c527a..15ec560 100644
259--- a/src/maasserver/forms/pods.py
260+++ b/src/maasserver/forms/pods.py
261@@ -815,5 +815,4 @@ class ComposeMachineForPodsForm(forms.Form):
262
263
264 class DeletePodForm(forms.Form):
265-
266 decompose = BooleanField(required=False, initial=False)
267diff --git a/src/maasserver/forms/script.py b/src/maasserver/forms/script.py
268index 22e8f4e..e23b6ed 100644
269--- a/src/maasserver/forms/script.py
270+++ b/src/maasserver/forms/script.py
271@@ -37,7 +37,6 @@ from provisioningserver.events import EVENT_TYPES
272
273
274 class ScriptForm(ModelForm):
275-
276 script_type = CharField(
277 label="Script type",
278 required=False,
279diff --git a/src/maasserver/forms/tests/test_filesystem.py b/src/maasserver/forms/tests/test_filesystem.py
280index af93578..c1b3f61 100644
281--- a/src/maasserver/forms/tests/test_filesystem.py
282+++ b/src/maasserver/forms/tests/test_filesystem.py
283@@ -40,7 +40,6 @@ class TestMountFilesystemFormWithoutSubstrate(MAASServerTestCase):
284
285
286 class TestMountFilesystemForm(MAASServerTestCase):
287-
288 scenarios = (
289 (
290 "partition",
291@@ -208,7 +207,6 @@ class TestMountNonStorageFilesystemForm(MAASServerTestCase):
292
293
294 class TestMountNonStorageFilesystemFormScenarios(MAASServerTestCase):
295-
296 scenarios = [
297 (displayname, {"fstype": name, "acquired": acquired})
298 for name, displayname in FILESYSTEM_FORMAT_TYPE_CHOICES
299@@ -300,7 +298,6 @@ class TestUnmountNonStorageFilesystemForm(MAASServerTestCase):
300
301
302 class TestUnmountNonStorageFilesystemFormScenarios(MAASServerTestCase):
303-
304 scenarios = [
305 (displayname, {"fstype": name})
306 for name, displayname in FILESYSTEM_FORMAT_TYPE_CHOICES
307diff --git a/src/maasserver/forms/tests/test_helpers.py b/src/maasserver/forms/tests/test_helpers.py
308index 0f87abc..3091da6 100644
309--- a/src/maasserver/forms/tests/test_helpers.py
310+++ b/src/maasserver/forms/tests/test_helpers.py
311@@ -134,7 +134,6 @@ class TestHelpers(MAASServerTestCase):
312
313
314 class TestMAASModelForm(MAASLegacyTransactionServerTestCase):
315-
316 apps = ["maasserver.tests"]
317
318 def test_model_class_from_UI_has_hidden_field(self):
319@@ -173,7 +172,6 @@ class TestMAASModelForm(MAASLegacyTransactionServerTestCase):
320 self.fields["early_field"] = CharField(required=False)
321
322 class TestForm(EarlyFieldMixin, MAASModelForm):
323-
324 extra_field = CharField(required=False)
325
326 def clean_early_field(self, *args, **kwargs):
327diff --git a/src/maasserver/forms/tests/test_interface.py b/src/maasserver/forms/tests/test_interface.py
328index 86d812f..0ce7041 100644
329--- a/src/maasserver/forms/tests/test_interface.py
330+++ b/src/maasserver/forms/tests/test_interface.py
331@@ -28,7 +28,6 @@ from maasserver.utils.forms import compose_invalid_choice_text
332
333
334 class TestGetInterfaceForm(MAASServerTestCase):
335-
336 scenarios = [
337 (
338 "physical",
339@@ -51,7 +50,6 @@ class TestGetInterfaceFormError(MAASServerTestCase):
340
341
342 class TestControllerInterfaceForm(MAASServerTestCase):
343-
344 scenarios = (
345 ("region", {"maker": factory.make_RegionController}),
346 ("rack", {"maker": factory.make_RackController}),
347diff --git a/src/maasserver/forms/tests/test_raid.py b/src/maasserver/forms/tests/test_raid.py
348index e3ea59c..15474e3 100644
349--- a/src/maasserver/forms/tests/test_raid.py
350+++ b/src/maasserver/forms/tests/test_raid.py
351@@ -251,7 +251,6 @@ class TestCreateRaidForm(MAASServerTestCase):
352
353
354 class TestUpdateRaidForm(MAASServerTestCase):
355-
356 # Add devices and partitions
357 def test_add_valid_blockdevice(self):
358 raid = factory.make_FilesystemGroup(
359diff --git a/src/maasserver/management/commands/_config.py b/src/maasserver/management/commands/_config.py
360index 34e5594..91a36f8 100644
361--- a/src/maasserver/management/commands/_config.py
362+++ b/src/maasserver/management/commands/_config.py
363@@ -146,7 +146,6 @@ class LocalConfigCommand(BaseCommand):
364
365
366 class GetCommand(LocalConfigCommand):
367-
368 # Do NOT dump to self.stdout; Django does some odd things wrapping stdout,
369 # like automatically injecting line breaks, and these break the YAML/JSON
370 # output.
371@@ -217,7 +216,6 @@ class ResetCommand(LocalConfigCommand):
372
373
374 class SetCommand(LocalConfigCommand):
375-
376 help = "Set local configuration for the MAAS region controller."
377
378 def add_arguments(self, parser):
379diff --git a/src/maasserver/management/commands/configauth.py b/src/maasserver/management/commands/configauth.py
380index 8fc03fc..413e87b 100644
381--- a/src/maasserver/management/commands/configauth.py
382+++ b/src/maasserver/management/commands/configauth.py
383@@ -27,7 +27,6 @@ from maasserver.utils.dns import validate_url
384
385 @dataclass
386 class _AuthDetails:
387-
388 url: str = ""
389 domain: str = ""
390 user: str = ""
391diff --git a/src/maasserver/management/commands/edit_named_options.py b/src/maasserver/management/commands/edit_named_options.py
392index 47ff357..6f5313e 100644
393--- a/src/maasserver/management/commands/edit_named_options.py
394+++ b/src/maasserver/management/commands/edit_named_options.py
395@@ -21,7 +21,6 @@ from provisioningserver.dns.commands.edit_named_options import (
396
397
398 class Command(BaseCommand):
399-
400 help = " ".join(
401 dedent(
402 """\
403diff --git a/src/maasserver/management/commands/tests/test_config.py b/src/maasserver/management/commands/tests/test_config.py
404index 49a04f7..bf73716 100644
405--- a/src/maasserver/management/commands/tests/test_config.py
406+++ b/src/maasserver/management/commands/tests/test_config.py
407@@ -79,7 +79,6 @@ class TestConfigurationGet(MAASTestCase):
408
409
410 class TestConfigurationReset(MAASTestCase):
411-
412 scenarios = tuple(
413 (option, {"option": option.lstrip("-").replace("-", "_")})
414 for option, args in config.gen_configuration_options_for_resetting()
415@@ -105,7 +104,6 @@ class TestConfigurationReset(MAASTestCase):
416
417
418 class TestConfigurationSet(MAASTestCase):
419-
420 scenarios = tuple(
421 (option, {"option": option.lstrip("-").replace("-", "_")})
422 for option, args in config.gen_configuration_options_for_setting()
423@@ -189,7 +187,6 @@ class TestConfigurationSet_DatabasePort(MAASTestCase):
424
425
426 class TestConfigurationCommon(MAASTestCase):
427-
428 is_string = IsInstance(str)
429 is_single_line = AfterPreprocessing(str.splitlines, HasLength(1))
430 is_help_string = MatchesAll(is_string, is_single_line, first_only=True)
431diff --git a/src/maasserver/management/commands/tests/test_dbupgrade.py b/src/maasserver/management/commands/tests/test_dbupgrade.py
432index bbc5ca6..2e62a6d 100644
433--- a/src/maasserver/management/commands/tests/test_dbupgrade.py
434+++ b/src/maasserver/management/commands/tests/test_dbupgrade.py
435@@ -58,7 +58,6 @@ def get_all_triggers(conn):
436
437
438 class TestDBUpgrade(MAASTestCase):
439-
440 dbname = "test_maas_dbupgrade"
441
442 def setUp(self):
443diff --git a/src/maasserver/middleware.py b/src/maasserver/middleware.py
444index 76c7fe7..5c2fbf4 100644
445--- a/src/maasserver/middleware.py
446+++ b/src/maasserver/middleware.py
447@@ -207,7 +207,6 @@ class ExceptionMiddleware:
448
449
450 class DebuggingLoggerMiddleware:
451-
452 log_level = logging.DEBUG
453
454 def __init__(self, get_response):
455diff --git a/src/maasserver/migrations/auth/0001_initial.py b/src/maasserver/migrations/auth/0001_initial.py
456index 9178ba1..ab00b55 100644
457--- a/src/maasserver/migrations/auth/0001_initial.py
458+++ b/src/maasserver/migrations/auth/0001_initial.py
459@@ -4,7 +4,6 @@ from django.utils import timezone
460
461
462 class Migration(migrations.Migration):
463-
464 dependencies = [("contenttypes", "__first__")]
465
466 operations = [
467diff --git a/src/maasserver/migrations/auth/0002_auto_20151119_1629.py b/src/maasserver/migrations/auth/0002_auto_20151119_1629.py
468index f02e27a..4a7519f 100644
469--- a/src/maasserver/migrations/auth/0002_auto_20151119_1629.py
470+++ b/src/maasserver/migrations/auth/0002_auto_20151119_1629.py
471@@ -4,7 +4,6 @@ from django.db import migrations, models
472
473
474 class Migration(migrations.Migration):
475-
476 dependencies = [("auth", "0001_initial")]
477
478 operations = [
479diff --git a/src/maasserver/migrations/auth/0003_django_1_11_update.py b/src/maasserver/migrations/auth/0003_django_1_11_update.py
480index cb8157e..4639341 100644
481--- a/src/maasserver/migrations/auth/0003_django_1_11_update.py
482+++ b/src/maasserver/migrations/auth/0003_django_1_11_update.py
483@@ -6,7 +6,6 @@ import django.db.models.deletion
484
485
486 class Migration(migrations.Migration):
487-
488 dependencies = [("auth", "0002_auto_20151119_1629")]
489
490 operations = [
491diff --git a/src/maasserver/migrations/auth/0004_user_email_allow_null.py b/src/maasserver/migrations/auth/0004_user_email_allow_null.py
492index fbe82a4..15b03e9 100644
493--- a/src/maasserver/migrations/auth/0004_user_email_allow_null.py
494+++ b/src/maasserver/migrations/auth/0004_user_email_allow_null.py
495@@ -4,7 +4,6 @@ from django.db import migrations, models
496
497
498 class Migration(migrations.Migration):
499-
500 dependencies = [("auth", "0003_django_1_11_update")]
501
502 operations = [
503diff --git a/src/maasserver/migrations/auth/0005_auto_20200626_1049.py b/src/maasserver/migrations/auth/0005_auto_20200626_1049.py
504index 9381e43..a947943 100644
505--- a/src/maasserver/migrations/auth/0005_auto_20200626_1049.py
506+++ b/src/maasserver/migrations/auth/0005_auto_20200626_1049.py
507@@ -4,7 +4,6 @@ from django.db import migrations, models
508
509
510 class Migration(migrations.Migration):
511-
512 dependencies = [("auth", "0004_user_email_allow_null")]
513
514 operations = [
515diff --git a/src/maasserver/migrations/auth/0006_default_auto_field.py b/src/maasserver/migrations/auth/0006_default_auto_field.py
516index 1a8c682..df52b8e 100644
517--- a/src/maasserver/migrations/auth/0006_default_auto_field.py
518+++ b/src/maasserver/migrations/auth/0006_default_auto_field.py
519@@ -4,7 +4,6 @@ from django.db import migrations, models
520
521
522 class Migration(migrations.Migration):
523-
524 dependencies = [
525 ("auth", "0005_auto_20200626_1049"),
526 ]
527diff --git a/src/maasserver/migrations/maasserver/0001_initial.py b/src/maasserver/migrations/maasserver/0001_initial.py
528index 6a5b0af..681c113 100644
529--- a/src/maasserver/migrations/maasserver/0001_initial.py
530+++ b/src/maasserver/migrations/maasserver/0001_initial.py
531@@ -20,7 +20,6 @@ import metadataserver.fields
532
533
534 class Migration(migrations.Migration):
535-
536 dependencies = [
537 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
538 ("piston3", "0001_initial"),
539diff --git a/src/maasserver/migrations/maasserver/0002_remove_candidate_name_model.py b/src/maasserver/migrations/maasserver/0002_remove_candidate_name_model.py
540index 8929d91..2090749 100644
541--- a/src/maasserver/migrations/maasserver/0002_remove_candidate_name_model.py
542+++ b/src/maasserver/migrations/maasserver/0002_remove_candidate_name_model.py
543@@ -2,7 +2,6 @@ from django.db import migrations, models
544
545
546 class Migration(migrations.Migration):
547-
548 dependencies = [("maasserver", "0001_initial")]
549
550 operations = [migrations.DeleteModel(name="CandidateName")]
551diff --git a/src/maasserver/migrations/maasserver/0003_add_node_type_to_node.py b/src/maasserver/migrations/maasserver/0003_add_node_type_to_node.py
552index 7a6aa5c..6be4ef6 100644
553--- a/src/maasserver/migrations/maasserver/0003_add_node_type_to_node.py
554+++ b/src/maasserver/migrations/maasserver/0003_add_node_type_to_node.py
555@@ -2,7 +2,6 @@ from django.db import migrations, models
556
557
558 class Migration(migrations.Migration):
559-
560 dependencies = [("maasserver", "0002_remove_candidate_name_model")]
561
562 operations = [
563diff --git a/src/maasserver/migrations/maasserver/0004_migrate_installable_to_node_type.py b/src/maasserver/migrations/maasserver/0004_migrate_installable_to_node_type.py
564index 2aafde1..a84134f 100644
565--- a/src/maasserver/migrations/maasserver/0004_migrate_installable_to_node_type.py
566+++ b/src/maasserver/migrations/maasserver/0004_migrate_installable_to_node_type.py
567@@ -15,7 +15,6 @@ def convert_installable_to_node_type(apps, schema_editor):
568
569
570 class Migration(migrations.Migration):
571-
572 dependencies = [("maasserver", "0003_add_node_type_to_node")]
573
574 operations = [migrations.RunPython(convert_installable_to_node_type)]
575diff --git a/src/maasserver/migrations/maasserver/0005_delete_installable_from_node.py b/src/maasserver/migrations/maasserver/0005_delete_installable_from_node.py
576index 8c43456..c135708 100644
577--- a/src/maasserver/migrations/maasserver/0005_delete_installable_from_node.py
578+++ b/src/maasserver/migrations/maasserver/0005_delete_installable_from_node.py
579@@ -2,7 +2,6 @@ from django.db import migrations, models
580
581
582 class Migration(migrations.Migration):
583-
584 dependencies = [("maasserver", "0004_migrate_installable_to_node_type")]
585
586 operations = [
587diff --git a/src/maasserver/migrations/maasserver/0006_add_lease_time_to_staticipaddress.py b/src/maasserver/migrations/maasserver/0006_add_lease_time_to_staticipaddress.py
588index 70262dd..ec0a8ba 100644
589--- a/src/maasserver/migrations/maasserver/0006_add_lease_time_to_staticipaddress.py
590+++ b/src/maasserver/migrations/maasserver/0006_add_lease_time_to_staticipaddress.py
591@@ -2,7 +2,6 @@ from django.db import migrations, models
592
593
594 class Migration(migrations.Migration):
595-
596 dependencies = [("maasserver", "0005_delete_installable_from_node")]
597
598 operations = [
599diff --git a/src/maasserver/migrations/maasserver/0007_create_node_proxy_models.py b/src/maasserver/migrations/maasserver/0007_create_node_proxy_models.py
600index 8ffbf7c..ad958f7 100644
601--- a/src/maasserver/migrations/maasserver/0007_create_node_proxy_models.py
602+++ b/src/maasserver/migrations/maasserver/0007_create_node_proxy_models.py
603@@ -5,7 +5,6 @@ import maasserver.fields
604
605
606 class Migration(migrations.Migration):
607-
608 dependencies = [("maasserver", "0006_add_lease_time_to_staticipaddress")]
609
610 operations = [
611diff --git a/src/maasserver/migrations/maasserver/0008_use_new_arrayfield.py b/src/maasserver/migrations/maasserver/0008_use_new_arrayfield.py
612index 4cb3633..5f4d628 100644
613--- a/src/maasserver/migrations/maasserver/0008_use_new_arrayfield.py
614+++ b/src/maasserver/migrations/maasserver/0008_use_new_arrayfield.py
615@@ -5,7 +5,6 @@ import maasserver.fields
616
617
618 class Migration(migrations.Migration):
619-
620 dependencies = [("maasserver", "0007_create_node_proxy_models")]
621
622 operations = [
623diff --git a/src/maasserver/migrations/maasserver/0009_remove_routers_field_from_node.py b/src/maasserver/migrations/maasserver/0009_remove_routers_field_from_node.py
624index a36431c..11c470e 100644
625--- a/src/maasserver/migrations/maasserver/0009_remove_routers_field_from_node.py
626+++ b/src/maasserver/migrations/maasserver/0009_remove_routers_field_from_node.py
627@@ -2,7 +2,6 @@ from django.db import migrations, models
628
629
630 class Migration(migrations.Migration):
631-
632 dependencies = [("maasserver", "0008_use_new_arrayfield")]
633
634 operations = [migrations.RemoveField(model_name="node", name="routers")]
635diff --git a/src/maasserver/migrations/maasserver/0010_add_dns_models.py b/src/maasserver/migrations/maasserver/0010_add_dns_models.py
636index 86dd07e..8f85c34 100644
637--- a/src/maasserver/migrations/maasserver/0010_add_dns_models.py
638+++ b/src/maasserver/migrations/maasserver/0010_add_dns_models.py
639@@ -7,7 +7,6 @@ import maasserver.models.dnsresource
640
641
642 class Migration(migrations.Migration):
643-
644 dependencies = [("maasserver", "0009_remove_routers_field_from_node")]
645
646 operations = [
647diff --git a/src/maasserver/migrations/maasserver/0011_domain_data.py b/src/maasserver/migrations/maasserver/0011_domain_data.py
648index 612f0d4..1bee15c 100644
649--- a/src/maasserver/migrations/maasserver/0011_domain_data.py
650+++ b/src/maasserver/migrations/maasserver/0011_domain_data.py
651@@ -115,7 +115,6 @@ def migrate_staticipaddress_hostname(apps, schema_editor):
652
653
654 class Migration(migrations.Migration):
655-
656 dependencies = [("maasserver", "0010_add_dns_models")]
657
658 operations = [
659diff --git a/src/maasserver/migrations/maasserver/0012_drop_dns_fields.py b/src/maasserver/migrations/maasserver/0012_drop_dns_fields.py
660index bc52c73..d4f8a36 100644
661--- a/src/maasserver/migrations/maasserver/0012_drop_dns_fields.py
662+++ b/src/maasserver/migrations/maasserver/0012_drop_dns_fields.py
663@@ -7,7 +7,6 @@ import maasserver.models.dnsresource
664
665
666 class Migration(migrations.Migration):
667-
668 dependencies = [("maasserver", "0011_domain_data")]
669
670 operations = [
671diff --git a/src/maasserver/migrations/maasserver/0013_remove_boot_type_from_node.py b/src/maasserver/migrations/maasserver/0013_remove_boot_type_from_node.py
672index 3a94846..82bbb7d 100644
673--- a/src/maasserver/migrations/maasserver/0013_remove_boot_type_from_node.py
674+++ b/src/maasserver/migrations/maasserver/0013_remove_boot_type_from_node.py
675@@ -2,7 +2,6 @@ from django.db import migrations, models
676
677
678 class Migration(migrations.Migration):
679-
680 dependencies = [("maasserver", "0012_drop_dns_fields")]
681
682 operations = [migrations.RemoveField(model_name="node", name="boot_type")]
683diff --git a/src/maasserver/migrations/maasserver/0014_add_region_models.py b/src/maasserver/migrations/maasserver/0014_add_region_models.py
684index 8340461..259d610 100644
685--- a/src/maasserver/migrations/maasserver/0014_add_region_models.py
686+++ b/src/maasserver/migrations/maasserver/0014_add_region_models.py
687@@ -7,7 +7,6 @@ import maasserver.models.node
688
689
690 class Migration(migrations.Migration):
691-
692 dependencies = [("maasserver", "0013_remove_boot_type_from_node")]
693
694 operations = [
695diff --git a/src/maasserver/migrations/maasserver/0015_add_bmc_model.py b/src/maasserver/migrations/maasserver/0015_add_bmc_model.py
696index 6f6bb04..e03cf28 100644
697--- a/src/maasserver/migrations/maasserver/0015_add_bmc_model.py
698+++ b/src/maasserver/migrations/maasserver/0015_add_bmc_model.py
699@@ -6,7 +6,6 @@ import maasserver.models.cleansave
700
701
702 class Migration(migrations.Migration):
703-
704 dependencies = [("maasserver", "0014_add_region_models")]
705
706 operations = [
707diff --git a/src/maasserver/migrations/maasserver/0016_migrate_power_data_node_to_bmc.py b/src/maasserver/migrations/maasserver/0016_migrate_power_data_node_to_bmc.py
708index 145c40d..c3ccb6a 100644
709--- a/src/maasserver/migrations/maasserver/0016_migrate_power_data_node_to_bmc.py
710+++ b/src/maasserver/migrations/maasserver/0016_migrate_power_data_node_to_bmc.py
711@@ -65,7 +65,6 @@ def migrate_power_data_from_node_to_bmc(apps, schema_editor):
712
713
714 class Migration(migrations.Migration):
715-
716 dependencies = [("maasserver", "0015_add_bmc_model")]
717
718 operations = [migrations.RunPython(migrate_power_data_from_node_to_bmc)]
719diff --git a/src/maasserver/migrations/maasserver/0017_remove_node_power_type.py b/src/maasserver/migrations/maasserver/0017_remove_node_power_type.py
720index 8db8756..1fb404e 100644
721--- a/src/maasserver/migrations/maasserver/0017_remove_node_power_type.py
722+++ b/src/maasserver/migrations/maasserver/0017_remove_node_power_type.py
723@@ -2,7 +2,6 @@ from django.db import migrations
724
725
726 class Migration(migrations.Migration):
727-
728 dependencies = [("maasserver", "0016_migrate_power_data_node_to_bmc")]
729
730 operations = [migrations.RemoveField(model_name="node", name="power_type")]
731diff --git a/src/maasserver/migrations/maasserver/0018_add_dnsdata.py b/src/maasserver/migrations/maasserver/0018_add_dnsdata.py
732index 04375c0..22be568 100644
733--- a/src/maasserver/migrations/maasserver/0018_add_dnsdata.py
734+++ b/src/maasserver/migrations/maasserver/0018_add_dnsdata.py
735@@ -5,7 +5,6 @@ import maasserver.models.dnsdata
736
737
738 class Migration(migrations.Migration):
739-
740 dependencies = [("maasserver", "0017_remove_node_power_type")]
741
742 operations = [
743diff --git a/src/maasserver/migrations/maasserver/0019_add_iprange.py b/src/maasserver/migrations/maasserver/0019_add_iprange.py
744index 7d3fba6..7319c1f 100644
745--- a/src/maasserver/migrations/maasserver/0019_add_iprange.py
746+++ b/src/maasserver/migrations/maasserver/0019_add_iprange.py
747@@ -6,7 +6,6 @@ import maasserver.models.cleansave
748
749
750 class Migration(migrations.Migration):
751-
752 dependencies = [
753 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
754 ("maasserver", "0018_add_dnsdata"),
755diff --git a/src/maasserver/migrations/maasserver/0020_nodegroup_to_rackcontroller.py b/src/maasserver/migrations/maasserver/0020_nodegroup_to_rackcontroller.py
756index a783681..4e98333 100644
757--- a/src/maasserver/migrations/maasserver/0020_nodegroup_to_rackcontroller.py
758+++ b/src/maasserver/migrations/maasserver/0020_nodegroup_to_rackcontroller.py
759@@ -18,7 +18,6 @@ def grab_data(apps, schema_editor):
760
761
762 class Migration(migrations.Migration):
763-
764 dependencies = [("maasserver", "0019_add_iprange")]
765
766 operations = [
767diff --git a/src/maasserver/migrations/maasserver/0021_nodegroupinterface_to_iprange.py b/src/maasserver/migrations/maasserver/0021_nodegroupinterface_to_iprange.py
768index c50bef9..156568d 100644
769--- a/src/maasserver/migrations/maasserver/0021_nodegroupinterface_to_iprange.py
770+++ b/src/maasserver/migrations/maasserver/0021_nodegroupinterface_to_iprange.py
771@@ -85,7 +85,6 @@ def create_ipranges_from_nodegroupinterfaces(apps, schema_editor):
772
773
774 class Migration(migrations.Migration):
775-
776 dependencies = [("maasserver", "0020_nodegroup_to_rackcontroller")]
777
778 operations = [
779diff --git a/src/maasserver/migrations/maasserver/0022_extract_ip_for_bmcs.py b/src/maasserver/migrations/maasserver/0022_extract_ip_for_bmcs.py
780index a577188..f5e1887 100644
781--- a/src/maasserver/migrations/maasserver/0022_extract_ip_for_bmcs.py
782+++ b/src/maasserver/migrations/maasserver/0022_extract_ip_for_bmcs.py
783@@ -96,7 +96,6 @@ def create_staticipaddresses_for_bmcs(apps, schema_editor):
784
785
786 class Migration(migrations.Migration):
787-
788 dependencies = [("maasserver", "0021_nodegroupinterface_to_iprange")]
789
790 operations = [migrations.RunPython(create_staticipaddresses_for_bmcs)]
791diff --git a/src/maasserver/migrations/maasserver/0023_add_ttl_field.py b/src/maasserver/migrations/maasserver/0023_add_ttl_field.py
792index d7158a6..0c0d71f 100644
793--- a/src/maasserver/migrations/maasserver/0023_add_ttl_field.py
794+++ b/src/maasserver/migrations/maasserver/0023_add_ttl_field.py
795@@ -6,7 +6,6 @@ import maasserver.models.node
796
797
798 class Migration(migrations.Migration):
799-
800 dependencies = [("maasserver", "0022_extract_ip_for_bmcs")]
801
802 operations = [
803diff --git a/src/maasserver/migrations/maasserver/0024_remove_nodegroupinterface.py b/src/maasserver/migrations/maasserver/0024_remove_nodegroupinterface.py
804index e25a95f..6c76739 100644
805--- a/src/maasserver/migrations/maasserver/0024_remove_nodegroupinterface.py
806+++ b/src/maasserver/migrations/maasserver/0024_remove_nodegroupinterface.py
807@@ -3,7 +3,6 @@ import django.db.models.deletion
808
809
810 class Migration(migrations.Migration):
811-
812 dependencies = [("maasserver", "0023_add_ttl_field")]
813
814 operations = [
815diff --git a/src/maasserver/migrations/maasserver/0025_create_node_system_id_sequence.py b/src/maasserver/migrations/maasserver/0025_create_node_system_id_sequence.py
816index 4cefb06..a34467d 100644
817--- a/src/maasserver/migrations/maasserver/0025_create_node_system_id_sequence.py
818+++ b/src/maasserver/migrations/maasserver/0025_create_node_system_id_sequence.py
819@@ -28,7 +28,6 @@ sequence_drop = "DROP SEQUENCE IF EXISTS maasserver_node_system_id_seq"
820
821
822 class Migration(migrations.Migration):
823-
824 dependencies = [("maasserver", "0024_remove_nodegroupinterface")]
825
826 operations = [migrations.RunSQL(sequence_create, sequence_drop)]
827diff --git a/src/maasserver/migrations/maasserver/0026_create_zone_serial_sequence.py b/src/maasserver/migrations/maasserver/0026_create_zone_serial_sequence.py
828index d3e010f..d5c043b 100644
829--- a/src/maasserver/migrations/maasserver/0026_create_zone_serial_sequence.py
830+++ b/src/maasserver/migrations/maasserver/0026_create_zone_serial_sequence.py
831@@ -22,7 +22,6 @@ sequence_drop = "DROP SEQUENCE IF EXISTS maasserver_zone_serial_seq"
832
833
834 class Migration(migrations.Migration):
835-
836 dependencies = [("maasserver", "0025_create_node_system_id_sequence")]
837
838 operations = [migrations.RunSQL(sequence_create, sequence_drop)]
839diff --git a/src/maasserver/migrations/maasserver/0027_replace_static_range_with_admin_reserved_ranges.py b/src/maasserver/migrations/maasserver/0027_replace_static_range_with_admin_reserved_ranges.py
840index b294298..5dea43d 100644
841--- a/src/maasserver/migrations/maasserver/0027_replace_static_range_with_admin_reserved_ranges.py
842+++ b/src/maasserver/migrations/maasserver/0027_replace_static_range_with_admin_reserved_ranges.py
843@@ -80,7 +80,6 @@ def migrate_static_ranges_to_admin_reserved(apps, schema_editor):
844
845
846 class Migration(migrations.Migration):
847-
848 dependencies = [("maasserver", "0026_create_zone_serial_sequence")]
849
850 operations = [
851diff --git a/src/maasserver/migrations/maasserver/0028_update_default_vlan_on_interface_and_subnet.py b/src/maasserver/migrations/maasserver/0028_update_default_vlan_on_interface_and_subnet.py
852index 5627212..42627c3 100644
853--- a/src/maasserver/migrations/maasserver/0028_update_default_vlan_on_interface_and_subnet.py
854+++ b/src/maasserver/migrations/maasserver/0028_update_default_vlan_on_interface_and_subnet.py
855@@ -6,7 +6,6 @@ import maasserver.models.subnet
856
857
858 class Migration(migrations.Migration):
859-
860 dependencies = [
861 ("maasserver", "0027_replace_static_range_with_admin_reserved_ranges")
862 ]
863diff --git a/src/maasserver/migrations/maasserver/0029_add_rdns_mode.py b/src/maasserver/migrations/maasserver/0029_add_rdns_mode.py
864index b9a6a34..feebe6f 100644
865--- a/src/maasserver/migrations/maasserver/0029_add_rdns_mode.py
866+++ b/src/maasserver/migrations/maasserver/0029_add_rdns_mode.py
867@@ -2,7 +2,6 @@ from django.db import migrations, models
868
869
870 class Migration(migrations.Migration):
871-
872 dependencies = [
873 ("maasserver", "0028_update_default_vlan_on_interface_and_subnet")
874 ]
875diff --git a/src/maasserver/migrations/maasserver/0030_drop_all_old_funcs.py b/src/maasserver/migrations/maasserver/0030_drop_all_old_funcs.py
876index c530c49..69ac830 100644
877--- a/src/maasserver/migrations/maasserver/0030_drop_all_old_funcs.py
878+++ b/src/maasserver/migrations/maasserver/0030_drop_all_old_funcs.py
879@@ -18,7 +18,6 @@ def drop_all_funcs(apps, schema_editor):
880
881
882 class Migration(migrations.Migration):
883-
884 dependencies = [("maasserver", "0029_add_rdns_mode")]
885
886 operations = [migrations.RunPython(drop_all_funcs)]
887diff --git a/src/maasserver/migrations/maasserver/0031_add_region_rack_rpc_conn_model.py b/src/maasserver/migrations/maasserver/0031_add_region_rack_rpc_conn_model.py
888index 2b33e5f..5f8386f 100644
889--- a/src/maasserver/migrations/maasserver/0031_add_region_rack_rpc_conn_model.py
890+++ b/src/maasserver/migrations/maasserver/0031_add_region_rack_rpc_conn_model.py
891@@ -5,7 +5,6 @@ import maasserver.models.cleansave
892
893
894 class Migration(migrations.Migration):
895-
896 dependencies = [("maasserver", "0030_drop_all_old_funcs")]
897
898 operations = [
899diff --git a/src/maasserver/migrations/maasserver/0032_loosen_vlan.py b/src/maasserver/migrations/maasserver/0032_loosen_vlan.py
900index 4d4f7f6..b01eb2f 100644
901--- a/src/maasserver/migrations/maasserver/0032_loosen_vlan.py
902+++ b/src/maasserver/migrations/maasserver/0032_loosen_vlan.py
903@@ -4,7 +4,6 @@ import django.db.models.deletion
904
905
906 class Migration(migrations.Migration):
907-
908 dependencies = [("maasserver", "0031_add_region_rack_rpc_conn_model")]
909
910 operations = [
911diff --git a/src/maasserver/migrations/maasserver/0033_iprange_minor_changes.py b/src/maasserver/migrations/maasserver/0033_iprange_minor_changes.py
912index 11280fb..51532aa 100644
913--- a/src/maasserver/migrations/maasserver/0033_iprange_minor_changes.py
914+++ b/src/maasserver/migrations/maasserver/0033_iprange_minor_changes.py
915@@ -4,7 +4,6 @@ import django.db.models.deletion
916
917
918 class Migration(migrations.Migration):
919-
920 dependencies = [("maasserver", "0032_loosen_vlan")]
921
922 operations = [
923diff --git a/src/maasserver/migrations/maasserver/0034_rename_mount_params_as_mount_options.py b/src/maasserver/migrations/maasserver/0034_rename_mount_params_as_mount_options.py
924index 7871442..f488510 100644
925--- a/src/maasserver/migrations/maasserver/0034_rename_mount_params_as_mount_options.py
926+++ b/src/maasserver/migrations/maasserver/0034_rename_mount_params_as_mount_options.py
927@@ -2,7 +2,6 @@ from django.db import migrations
928
929
930 class Migration(migrations.Migration):
931-
932 dependencies = [("maasserver", "0033_iprange_minor_changes")]
933
934 operations = [
935diff --git a/src/maasserver/migrations/maasserver/0035_convert_ether_wake_to_manual_power_type.py b/src/maasserver/migrations/maasserver/0035_convert_ether_wake_to_manual_power_type.py
936index 65acfc9..45aef02 100644
937--- a/src/maasserver/migrations/maasserver/0035_convert_ether_wake_to_manual_power_type.py
938+++ b/src/maasserver/migrations/maasserver/0035_convert_ether_wake_to_manual_power_type.py
939@@ -9,7 +9,6 @@ def convert_ether_wake_to_manual_power_type(apps, schema_editor):
940
941
942 class Migration(migrations.Migration):
943-
944 dependencies = [
945 ("maasserver", "0034_rename_mount_params_as_mount_options")
946 ]
947diff --git a/src/maasserver/migrations/maasserver/0036_add_service_model.py b/src/maasserver/migrations/maasserver/0036_add_service_model.py
948index 7225c7e..607a456 100644
949--- a/src/maasserver/migrations/maasserver/0036_add_service_model.py
950+++ b/src/maasserver/migrations/maasserver/0036_add_service_model.py
951@@ -4,7 +4,6 @@ import maasserver.models.cleansave
952
953
954 class Migration(migrations.Migration):
955-
956 dependencies = [
957 ("maasserver", "0035_convert_ether_wake_to_manual_power_type")
958 ]
959diff --git a/src/maasserver/migrations/maasserver/0037_node_last_image_sync.py b/src/maasserver/migrations/maasserver/0037_node_last_image_sync.py
960index fa17147..bdb4b8d 100644
961--- a/src/maasserver/migrations/maasserver/0037_node_last_image_sync.py
962+++ b/src/maasserver/migrations/maasserver/0037_node_last_image_sync.py
963@@ -2,7 +2,6 @@ from django.db import migrations, models
964
965
966 class Migration(migrations.Migration):
967-
968 dependencies = [("maasserver", "0036_add_service_model")]
969
970 operations = [
971diff --git a/src/maasserver/migrations/maasserver/0038_filesystem_ramfs_tmpfs_support.py b/src/maasserver/migrations/maasserver/0038_filesystem_ramfs_tmpfs_support.py
972index 9644ce1..67252b6 100644
973--- a/src/maasserver/migrations/maasserver/0038_filesystem_ramfs_tmpfs_support.py
974+++ b/src/maasserver/migrations/maasserver/0038_filesystem_ramfs_tmpfs_support.py
975@@ -2,7 +2,6 @@ from django.db import migrations, models
976
977
978 class Migration(migrations.Migration):
979-
980 dependencies = [("maasserver", "0037_node_last_image_sync")]
981
982 operations = [
983diff --git a/src/maasserver/migrations/maasserver/0039_create_template_and_versionedtextfile_models.py b/src/maasserver/migrations/maasserver/0039_create_template_and_versionedtextfile_models.py
984index 964025d..dbfbecd 100644
985--- a/src/maasserver/migrations/maasserver/0039_create_template_and_versionedtextfile_models.py
986+++ b/src/maasserver/migrations/maasserver/0039_create_template_and_versionedtextfile_models.py
987@@ -4,7 +4,6 @@ import maasserver.models.cleansave
988
989
990 class Migration(migrations.Migration):
991-
992 dependencies = [("maasserver", "0038_filesystem_ramfs_tmpfs_support")]
993
994 operations = [
995diff --git a/src/maasserver/migrations/maasserver/0040_fix_id_seq.py b/src/maasserver/migrations/maasserver/0040_fix_id_seq.py
996index 548660f..d51cf80 100644
997--- a/src/maasserver/migrations/maasserver/0040_fix_id_seq.py
998+++ b/src/maasserver/migrations/maasserver/0040_fix_id_seq.py
999@@ -2,7 +2,6 @@ from django.db import migrations, models
1000
1001
1002 class Migration(migrations.Migration):
1003-
1004 dependencies = [
1005 ("maasserver", "0039_create_template_and_versionedtextfile_models")
1006 ]
1007diff --git a/src/maasserver/migrations/maasserver/0041_change_bmc_on_delete_to_set_null.py b/src/maasserver/migrations/maasserver/0041_change_bmc_on_delete_to_set_null.py
1008index afd76e6..fc7c0f7 100644
1009--- a/src/maasserver/migrations/maasserver/0041_change_bmc_on_delete_to_set_null.py
1010+++ b/src/maasserver/migrations/maasserver/0041_change_bmc_on_delete_to_set_null.py
1011@@ -3,7 +3,6 @@ import django.db.models.deletion
1012
1013
1014 class Migration(migrations.Migration):
1015-
1016 dependencies = [("maasserver", "0040_fix_id_seq")]
1017
1018 operations = [
1019diff --git a/src/maasserver/migrations/maasserver/0042_add_routable_rack_controllers_to_bmc.py b/src/maasserver/migrations/maasserver/0042_add_routable_rack_controllers_to_bmc.py
1020index fd4b772..198678e 100644
1021--- a/src/maasserver/migrations/maasserver/0042_add_routable_rack_controllers_to_bmc.py
1022+++ b/src/maasserver/migrations/maasserver/0042_add_routable_rack_controllers_to_bmc.py
1023@@ -4,7 +4,6 @@ import maasserver.models.cleansave
1024
1025
1026 class Migration(migrations.Migration):
1027-
1028 dependencies = [("maasserver", "0041_change_bmc_on_delete_to_set_null")]
1029
1030 operations = [
1031diff --git a/src/maasserver/migrations/maasserver/0043_dhcpsnippet.py b/src/maasserver/migrations/maasserver/0043_dhcpsnippet.py
1032index 4ff3ccf..e59708f 100644
1033--- a/src/maasserver/migrations/maasserver/0043_dhcpsnippet.py
1034+++ b/src/maasserver/migrations/maasserver/0043_dhcpsnippet.py
1035@@ -4,7 +4,6 @@ import maasserver.models.cleansave
1036
1037
1038 class Migration(migrations.Migration):
1039-
1040 dependencies = [
1041 ("maasserver", "0042_add_routable_rack_controllers_to_bmc")
1042 ]
1043diff --git a/src/maasserver/migrations/maasserver/0044_remove_di_bootresourcefiles.py b/src/maasserver/migrations/maasserver/0044_remove_di_bootresourcefiles.py
1044index ce42a74..964e49e 100644
1045--- a/src/maasserver/migrations/maasserver/0044_remove_di_bootresourcefiles.py
1046+++ b/src/maasserver/migrations/maasserver/0044_remove_di_bootresourcefiles.py
1047@@ -24,7 +24,6 @@ def remove_di_bootresourcefiles(apps, schema_editor):
1048
1049
1050 class Migration(migrations.Migration):
1051-
1052 dependencies = [("maasserver", "0043_dhcpsnippet")]
1053
1054 operations = [
1055diff --git a/src/maasserver/migrations/maasserver/0045_add_node_to_filesystem.py b/src/maasserver/migrations/maasserver/0045_add_node_to_filesystem.py
1056index 4085ca4..ed8647e 100644
1057--- a/src/maasserver/migrations/maasserver/0045_add_node_to_filesystem.py
1058+++ b/src/maasserver/migrations/maasserver/0045_add_node_to_filesystem.py
1059@@ -2,7 +2,6 @@ from django.db import migrations, models
1060
1061
1062 class Migration(migrations.Migration):
1063-
1064 dependencies = [("maasserver", "0044_remove_di_bootresourcefiles")]
1065
1066 operations = [
1067diff --git a/src/maasserver/migrations/maasserver/0046_add_bridge_interface_type.py b/src/maasserver/migrations/maasserver/0046_add_bridge_interface_type.py
1068index 46db591..1db2c76 100644
1069--- a/src/maasserver/migrations/maasserver/0046_add_bridge_interface_type.py
1070+++ b/src/maasserver/migrations/maasserver/0046_add_bridge_interface_type.py
1071@@ -2,7 +2,6 @@ from django.db import migrations, models
1072
1073
1074 class Migration(migrations.Migration):
1075-
1076 dependencies = [("maasserver", "0045_add_node_to_filesystem")]
1077
1078 operations = [
1079diff --git a/src/maasserver/migrations/maasserver/0047_fix_spelling_of_degraded.py b/src/maasserver/migrations/maasserver/0047_fix_spelling_of_degraded.py
1080index 39c39e1..c7017a2 100644
1081--- a/src/maasserver/migrations/maasserver/0047_fix_spelling_of_degraded.py
1082+++ b/src/maasserver/migrations/maasserver/0047_fix_spelling_of_degraded.py
1083@@ -9,7 +9,6 @@ def fix_spelling(apps, schema_editor):
1084
1085
1086 class Migration(migrations.Migration):
1087-
1088 dependencies = [("maasserver", "0046_add_bridge_interface_type")]
1089
1090 operations = [
1091diff --git a/src/maasserver/migrations/maasserver/0048_add_subnet_allow_proxy.py b/src/maasserver/migrations/maasserver/0048_add_subnet_allow_proxy.py
1092index 27cdb96..a3f10cb 100644
1093--- a/src/maasserver/migrations/maasserver/0048_add_subnet_allow_proxy.py
1094+++ b/src/maasserver/migrations/maasserver/0048_add_subnet_allow_proxy.py
1095@@ -2,7 +2,6 @@ from django.db import migrations, models
1096
1097
1098 class Migration(migrations.Migration):
1099-
1100 dependencies = [("maasserver", "0047_fix_spelling_of_degraded")]
1101
1102 operations = [
1103diff --git a/src/maasserver/migrations/maasserver/0049_add_external_dhcp_present_to_vlan.py b/src/maasserver/migrations/maasserver/0049_add_external_dhcp_present_to_vlan.py
1104index 1117c9c..b01990e 100644
1105--- a/src/maasserver/migrations/maasserver/0049_add_external_dhcp_present_to_vlan.py
1106+++ b/src/maasserver/migrations/maasserver/0049_add_external_dhcp_present_to_vlan.py
1107@@ -3,7 +3,6 @@ import django.db.models.deletion
1108
1109
1110 class Migration(migrations.Migration):
1111-
1112 dependencies = [("maasserver", "0048_add_subnet_allow_proxy")]
1113
1114 operations = [
1115diff --git a/src/maasserver/migrations/maasserver/0050_modify_external_dhcp_on_vlan.py b/src/maasserver/migrations/maasserver/0050_modify_external_dhcp_on_vlan.py
1116index d7443ae..14693ff 100644
1117--- a/src/maasserver/migrations/maasserver/0050_modify_external_dhcp_on_vlan.py
1118+++ b/src/maasserver/migrations/maasserver/0050_modify_external_dhcp_on_vlan.py
1119@@ -5,7 +5,6 @@ import maasserver.fields
1120
1121
1122 class Migration(migrations.Migration):
1123-
1124 dependencies = [("maasserver", "0049_add_external_dhcp_present_to_vlan")]
1125
1126 operations = [
1127diff --git a/src/maasserver/migrations/maasserver/0051_space_fabric_unique.py b/src/maasserver/migrations/maasserver/0051_space_fabric_unique.py
1128index a561e44..5625230 100644
1129--- a/src/maasserver/migrations/maasserver/0051_space_fabric_unique.py
1130+++ b/src/maasserver/migrations/maasserver/0051_space_fabric_unique.py
1131@@ -60,7 +60,6 @@ def fix_fabric_names(apps, schema_editor):
1132
1133
1134 class Migration(migrations.Migration):
1135-
1136 dependencies = [("maasserver", "0050_modify_external_dhcp_on_vlan")]
1137
1138 operations = [
1139diff --git a/src/maasserver/migrations/maasserver/0052_add_codename_title_eol_to_bootresourcecache.py b/src/maasserver/migrations/maasserver/0052_add_codename_title_eol_to_bootresourcecache.py
1140index 7715cee..b36e04c 100644
1141--- a/src/maasserver/migrations/maasserver/0052_add_codename_title_eol_to_bootresourcecache.py
1142+++ b/src/maasserver/migrations/maasserver/0052_add_codename_title_eol_to_bootresourcecache.py
1143@@ -2,7 +2,6 @@ from django.db import migrations, models
1144
1145
1146 class Migration(migrations.Migration):
1147-
1148 dependencies = [("maasserver", "0051_space_fabric_unique")]
1149
1150 operations = [
1151diff --git a/src/maasserver/migrations/maasserver/0053_add_ownerdata_model.py b/src/maasserver/migrations/maasserver/0053_add_ownerdata_model.py
1152index d4fd9a2..073389a 100644
1153--- a/src/maasserver/migrations/maasserver/0053_add_ownerdata_model.py
1154+++ b/src/maasserver/migrations/maasserver/0053_add_ownerdata_model.py
1155@@ -4,7 +4,6 @@ import maasserver.models.cleansave
1156
1157
1158 class Migration(migrations.Migration):
1159-
1160 dependencies = [
1161 ("maasserver", "0052_add_codename_title_eol_to_bootresourcecache")
1162 ]
1163diff --git a/src/maasserver/migrations/maasserver/0054_controller.py b/src/maasserver/migrations/maasserver/0054_controller.py
1164index 8eabf81..fc4e78a 100644
1165--- a/src/maasserver/migrations/maasserver/0054_controller.py
1166+++ b/src/maasserver/migrations/maasserver/0054_controller.py
1167@@ -2,7 +2,6 @@ from django.db import migrations, models
1168
1169
1170 class Migration(migrations.Migration):
1171-
1172 dependencies = [("maasserver", "0053_add_ownerdata_model")]
1173
1174 operations = [
1175diff --git a/src/maasserver/migrations/maasserver/0055_dns_publications.py b/src/maasserver/migrations/maasserver/0055_dns_publications.py
1176index 71577ac..246046b 100644
1177--- a/src/maasserver/migrations/maasserver/0055_dns_publications.py
1178+++ b/src/maasserver/migrations/maasserver/0055_dns_publications.py
1179@@ -5,7 +5,6 @@ import maasserver.models.dnspublication
1180
1181
1182 class Migration(migrations.Migration):
1183-
1184 dependencies = [("maasserver", "0054_controller")]
1185
1186 operations = [
1187diff --git a/src/maasserver/migrations/maasserver/0056_add_description_to_fabric_and_space.py b/src/maasserver/migrations/maasserver/0056_add_description_to_fabric_and_space.py
1188index 7f4c70c..9caa665 100644
1189--- a/src/maasserver/migrations/maasserver/0056_add_description_to_fabric_and_space.py
1190+++ b/src/maasserver/migrations/maasserver/0056_add_description_to_fabric_and_space.py
1191@@ -6,7 +6,6 @@ import maasserver.models.subnet
1192
1193
1194 class Migration(migrations.Migration):
1195-
1196 dependencies = [("maasserver", "0055_dns_publications")]
1197
1198 operations = [
1199diff --git a/src/maasserver/migrations/maasserver/0056_zone_serial_ownership.py b/src/maasserver/migrations/maasserver/0056_zone_serial_ownership.py
1200index 5850a6b..4258a2c 100644
1201--- a/src/maasserver/migrations/maasserver/0056_zone_serial_ownership.py
1202+++ b/src/maasserver/migrations/maasserver/0056_zone_serial_ownership.py
1203@@ -2,7 +2,6 @@ from django.db import migrations
1204
1205
1206 class Migration(migrations.Migration):
1207-
1208 dependencies = [("maasserver", "0055_dns_publications")]
1209
1210 operations = [
1211diff --git a/src/maasserver/migrations/maasserver/0057_initial_dns_publication.py b/src/maasserver/migrations/maasserver/0057_initial_dns_publication.py
1212index 42d958c..9753c72 100644
1213--- a/src/maasserver/migrations/maasserver/0057_initial_dns_publication.py
1214+++ b/src/maasserver/migrations/maasserver/0057_initial_dns_publication.py
1215@@ -22,7 +22,6 @@ def remove_initial_publication(apps, schema_editor):
1216
1217
1218 class Migration(migrations.Migration):
1219-
1220 dependencies = [("maasserver", "0056_zone_serial_ownership")]
1221
1222 operations = [
1223diff --git a/src/maasserver/migrations/maasserver/0057_merge.py b/src/maasserver/migrations/maasserver/0057_merge.py
1224index 2c2650e..6c5654f 100644
1225--- a/src/maasserver/migrations/maasserver/0057_merge.py
1226+++ b/src/maasserver/migrations/maasserver/0057_merge.py
1227@@ -2,7 +2,6 @@ from django.db import migrations
1228
1229
1230 class Migration(migrations.Migration):
1231-
1232 dependencies = [
1233 ("maasserver", "0056_add_description_to_fabric_and_space"),
1234 ("maasserver", "0056_zone_serial_ownership"),
1235diff --git a/src/maasserver/migrations/maasserver/0058_bigger_integer_for_dns_publication_serial.py b/src/maasserver/migrations/maasserver/0058_bigger_integer_for_dns_publication_serial.py
1236index 58bec9b..ec6741c 100644
1237--- a/src/maasserver/migrations/maasserver/0058_bigger_integer_for_dns_publication_serial.py
1238+++ b/src/maasserver/migrations/maasserver/0058_bigger_integer_for_dns_publication_serial.py
1239@@ -5,7 +5,6 @@ import maasserver.models.dnspublication
1240
1241
1242 class Migration(migrations.Migration):
1243-
1244 dependencies = [("maasserver", "0057_initial_dns_publication")]
1245
1246 operations = [
1247diff --git a/src/maasserver/migrations/maasserver/0059_merge.py b/src/maasserver/migrations/maasserver/0059_merge.py
1248index 31d4f76..182e42e 100644
1249--- a/src/maasserver/migrations/maasserver/0059_merge.py
1250+++ b/src/maasserver/migrations/maasserver/0059_merge.py
1251@@ -2,7 +2,6 @@ from django.db import migrations
1252
1253
1254 class Migration(migrations.Migration):
1255-
1256 dependencies = [
1257 ("maasserver", "0058_bigger_integer_for_dns_publication_serial"),
1258 ("maasserver", "0057_merge"),
1259diff --git a/src/maasserver/migrations/maasserver/0060_amt_remove_mac_address.py b/src/maasserver/migrations/maasserver/0060_amt_remove_mac_address.py
1260index b8cffb2..13205b7 100644
1261--- a/src/maasserver/migrations/maasserver/0060_amt_remove_mac_address.py
1262+++ b/src/maasserver/migrations/maasserver/0060_amt_remove_mac_address.py
1263@@ -9,7 +9,6 @@ def amt_remove_mac_address(apps, schema_editor):
1264
1265
1266 class Migration(migrations.Migration):
1267-
1268 dependencies = [("maasserver", "0059_merge")]
1269
1270 operations = [migrations.RunPython(amt_remove_mac_address)]
1271diff --git a/src/maasserver/migrations/maasserver/0061_maas_nodegroup_worker_to_maas.py b/src/maasserver/migrations/maasserver/0061_maas_nodegroup_worker_to_maas.py
1272index e569c78..958bb3a 100644
1273--- a/src/maasserver/migrations/maasserver/0061_maas_nodegroup_worker_to_maas.py
1274+++ b/src/maasserver/migrations/maasserver/0061_maas_nodegroup_worker_to_maas.py
1275@@ -12,7 +12,6 @@ def maas_nodegroup_worker_to_maas(apps, schema_editor):
1276
1277
1278 class Migration(migrations.Migration):
1279-
1280 dependencies = [("maasserver", "0060_amt_remove_mac_address")]
1281
1282 operations = [migrations.RunPython(maas_nodegroup_worker_to_maas)]
1283diff --git a/src/maasserver/migrations/maasserver/0062_fix_bootsource_daily_label.py b/src/maasserver/migrations/maasserver/0062_fix_bootsource_daily_label.py
1284index 2518bb0..9fa8990 100644
1285--- a/src/maasserver/migrations/maasserver/0062_fix_bootsource_daily_label.py
1286+++ b/src/maasserver/migrations/maasserver/0062_fix_bootsource_daily_label.py
1287@@ -14,7 +14,6 @@ def fix_bootsource_daily_label(apps, schema_editor):
1288
1289
1290 class Migration(migrations.Migration):
1291-
1292 dependencies = [("maasserver", "0061_maas_nodegroup_worker_to_maas")]
1293
1294 operations = [migrations.RunPython(fix_bootsource_daily_label)]
1295diff --git a/src/maasserver/migrations/maasserver/0063_remove_orphaned_bmcs_and_ips.py b/src/maasserver/migrations/maasserver/0063_remove_orphaned_bmcs_and_ips.py
1296index f3df4e7..2069291 100644
1297--- a/src/maasserver/migrations/maasserver/0063_remove_orphaned_bmcs_and_ips.py
1298+++ b/src/maasserver/migrations/maasserver/0063_remove_orphaned_bmcs_and_ips.py
1299@@ -10,7 +10,6 @@ def remove_orphaned_bmcs(apps, schema_editor):
1300
1301
1302 class Migration(migrations.Migration):
1303-
1304 dependencies = [("maasserver", "0062_fix_bootsource_daily_label")]
1305
1306 operations = [migrations.RunPython(remove_orphaned_bmcs)]
1307diff --git a/src/maasserver/migrations/maasserver/0064_remove_unneeded_event_triggers.py b/src/maasserver/migrations/maasserver/0064_remove_unneeded_event_triggers.py
1308index 5fdbddd..02ac12b 100644
1309--- a/src/maasserver/migrations/maasserver/0064_remove_unneeded_event_triggers.py
1310+++ b/src/maasserver/migrations/maasserver/0064_remove_unneeded_event_triggers.py
1311@@ -14,7 +14,6 @@ def remove_unneeded_event_triggers(apps, schema_editor):
1312
1313
1314 class Migration(migrations.Migration):
1315-
1316 dependencies = [("maasserver", "0063_remove_orphaned_bmcs_and_ips")]
1317
1318 operations = [migrations.RunPython(remove_unneeded_event_triggers)]
1319diff --git a/src/maasserver/migrations/maasserver/0065_larger_osystem_and_distro_series.py b/src/maasserver/migrations/maasserver/0065_larger_osystem_and_distro_series.py
1320index f3549e2..c31039b 100644
1321--- a/src/maasserver/migrations/maasserver/0065_larger_osystem_and_distro_series.py
1322+++ b/src/maasserver/migrations/maasserver/0065_larger_osystem_and_distro_series.py
1323@@ -2,7 +2,6 @@ from django.db import migrations, models
1324
1325
1326 class Migration(migrations.Migration):
1327-
1328 dependencies = [("maasserver", "0064_remove_unneeded_event_triggers")]
1329
1330 operations = [
1331diff --git a/src/maasserver/migrations/maasserver/0066_allow_squashfs.py b/src/maasserver/migrations/maasserver/0066_allow_squashfs.py
1332index 9773bd9..33625bf 100644
1333--- a/src/maasserver/migrations/maasserver/0066_allow_squashfs.py
1334+++ b/src/maasserver/migrations/maasserver/0066_allow_squashfs.py
1335@@ -2,7 +2,6 @@ from django.db import migrations, models
1336
1337
1338 class Migration(migrations.Migration):
1339-
1340 dependencies = [("maasserver", "0065_larger_osystem_and_distro_series")]
1341
1342 operations = [
1343diff --git a/src/maasserver/migrations/maasserver/0067_add_size_to_largefile.py b/src/maasserver/migrations/maasserver/0067_add_size_to_largefile.py
1344index c72d125..626d379 100644
1345--- a/src/maasserver/migrations/maasserver/0067_add_size_to_largefile.py
1346+++ b/src/maasserver/migrations/maasserver/0067_add_size_to_largefile.py
1347@@ -17,7 +17,6 @@ def set_size_on_all_largefiles(apps, schema_editor):
1348
1349
1350 class Migration(migrations.Migration):
1351-
1352 dependencies = [("maasserver", "0066_allow_squashfs")]
1353
1354 operations = [
1355diff --git a/src/maasserver/migrations/maasserver/0068_drop_node_system_id_sequence.py b/src/maasserver/migrations/maasserver/0068_drop_node_system_id_sequence.py
1356index 514844e..4fc7212 100644
1357--- a/src/maasserver/migrations/maasserver/0068_drop_node_system_id_sequence.py
1358+++ b/src/maasserver/migrations/maasserver/0068_drop_node_system_id_sequence.py
1359@@ -28,7 +28,6 @@ sequence_drop = "DROP SEQUENCE IF EXISTS maasserver_node_system_id_seq"
1360
1361
1362 class Migration(migrations.Migration):
1363-
1364 dependencies = [("maasserver", "0067_add_size_to_largefile")]
1365
1366 operations = [migrations.RunSQL(sequence_drop, sequence_create)]
1367diff --git a/src/maasserver/migrations/maasserver/0069_add_previous_node_status_to_node.py b/src/maasserver/migrations/maasserver/0069_add_previous_node_status_to_node.py
1368index 74139f7..d63e849 100644
1369--- a/src/maasserver/migrations/maasserver/0069_add_previous_node_status_to_node.py
1370+++ b/src/maasserver/migrations/maasserver/0069_add_previous_node_status_to_node.py
1371@@ -2,7 +2,6 @@ from django.db import migrations, models
1372
1373
1374 class Migration(migrations.Migration):
1375-
1376 dependencies = [("maasserver", "0068_drop_node_system_id_sequence")]
1377
1378 operations = [
1379diff --git a/src/maasserver/migrations/maasserver/0070_allow_null_vlan_on_interface.py b/src/maasserver/migrations/maasserver/0070_allow_null_vlan_on_interface.py
1380index 5fc61b2..f563752 100644
1381--- a/src/maasserver/migrations/maasserver/0070_allow_null_vlan_on_interface.py
1382+++ b/src/maasserver/migrations/maasserver/0070_allow_null_vlan_on_interface.py
1383@@ -3,7 +3,6 @@ import django.db.models.deletion
1384
1385
1386 class Migration(migrations.Migration):
1387-
1388 dependencies = [("maasserver", "0069_add_previous_node_status_to_node")]
1389
1390 operations = [
1391diff --git a/src/maasserver/migrations/maasserver/0071_ntp_server_to_ntp_servers.py b/src/maasserver/migrations/maasserver/0071_ntp_server_to_ntp_servers.py
1392index 293a313..37e6cb8 100644
1393--- a/src/maasserver/migrations/maasserver/0071_ntp_server_to_ntp_servers.py
1394+++ b/src/maasserver/migrations/maasserver/0071_ntp_server_to_ntp_servers.py
1395@@ -14,7 +14,6 @@ UPDATE maasserver_config
1396
1397
1398 class Migration(migrations.Migration):
1399-
1400 dependencies = [("maasserver", "0070_allow_null_vlan_on_interface")]
1401
1402 operations = [
1403diff --git a/src/maasserver/migrations/maasserver/0072_packagerepository.py b/src/maasserver/migrations/maasserver/0072_packagerepository.py
1404index f6f0fd2..7e63276 100644
1405--- a/src/maasserver/migrations/maasserver/0072_packagerepository.py
1406+++ b/src/maasserver/migrations/maasserver/0072_packagerepository.py
1407@@ -5,7 +5,6 @@ import maasserver.models.cleansave
1408
1409
1410 class Migration(migrations.Migration):
1411-
1412 dependencies = [("maasserver", "0071_ntp_server_to_ntp_servers")]
1413
1414 operations = [
1415diff --git a/src/maasserver/migrations/maasserver/0072_update_status_and_previous_status.py b/src/maasserver/migrations/maasserver/0072_update_status_and_previous_status.py
1416index 99b9991..6f0f08d 100644
1417--- a/src/maasserver/migrations/maasserver/0072_update_status_and_previous_status.py
1418+++ b/src/maasserver/migrations/maasserver/0072_update_status_and_previous_status.py
1419@@ -2,7 +2,6 @@ from django.db import migrations, models
1420
1421
1422 class Migration(migrations.Migration):
1423-
1424 dependencies = [("maasserver", "0071_ntp_server_to_ntp_servers")]
1425
1426 operations = [
1427diff --git a/src/maasserver/migrations/maasserver/0073_migrate_package_repositories.py b/src/maasserver/migrations/maasserver/0073_migrate_package_repositories.py
1428index 97923b7..d6e4953 100644
1429--- a/src/maasserver/migrations/maasserver/0073_migrate_package_repositories.py
1430+++ b/src/maasserver/migrations/maasserver/0073_migrate_package_repositories.py
1431@@ -66,7 +66,6 @@ def move_package_repositories(apps, schema_editor):
1432
1433
1434 class Migration(migrations.Migration):
1435-
1436 dependencies = [("maasserver", "0072_packagerepository")]
1437
1438 operations = [migrations.RunPython(move_package_repositories)]
1439diff --git a/src/maasserver/migrations/maasserver/0074_merge.py b/src/maasserver/migrations/maasserver/0074_merge.py
1440index b91d23d..6991eea 100644
1441--- a/src/maasserver/migrations/maasserver/0074_merge.py
1442+++ b/src/maasserver/migrations/maasserver/0074_merge.py
1443@@ -2,7 +2,6 @@ from django.db import migrations, models
1444
1445
1446 class Migration(migrations.Migration):
1447-
1448 dependencies = [
1449 ("maasserver", "0072_update_status_and_previous_status"),
1450 ("maasserver", "0073_migrate_package_repositories"),
1451diff --git a/src/maasserver/migrations/maasserver/0075_modify_packagerepository.py b/src/maasserver/migrations/maasserver/0075_modify_packagerepository.py
1452index 7bcb89d..f9b7bd9 100644
1453--- a/src/maasserver/migrations/maasserver/0075_modify_packagerepository.py
1454+++ b/src/maasserver/migrations/maasserver/0075_modify_packagerepository.py
1455@@ -3,7 +3,6 @@ from django.db import migrations, models
1456
1457
1458 class Migration(migrations.Migration):
1459-
1460 dependencies = [("maasserver", "0074_merge")]
1461
1462 operations = [
1463diff --git a/src/maasserver/migrations/maasserver/0076_interface_discovery_rescue_mode.py b/src/maasserver/migrations/maasserver/0076_interface_discovery_rescue_mode.py
1464index b14994a..7ac37ef 100644
1465--- a/src/maasserver/migrations/maasserver/0076_interface_discovery_rescue_mode.py
1466+++ b/src/maasserver/migrations/maasserver/0076_interface_discovery_rescue_mode.py
1467@@ -7,7 +7,6 @@ import maasserver.models.cleansave
1468
1469
1470 class Migration(migrations.Migration):
1471-
1472 dependencies = [("maasserver", "0075_modify_packagerepository")]
1473
1474 operations = [
1475diff --git a/src/maasserver/migrations/maasserver/0077_static_routes.py b/src/maasserver/migrations/maasserver/0077_static_routes.py
1476index 3085ab4..c9786e7 100644
1477--- a/src/maasserver/migrations/maasserver/0077_static_routes.py
1478+++ b/src/maasserver/migrations/maasserver/0077_static_routes.py
1479@@ -5,7 +5,6 @@ import maasserver.models.cleansave
1480
1481
1482 class Migration(migrations.Migration):
1483-
1484 dependencies = [("maasserver", "0076_interface_discovery_rescue_mode")]
1485
1486 operations = [
1487diff --git a/src/maasserver/migrations/maasserver/0078_remove_packagerepository_description.py b/src/maasserver/migrations/maasserver/0078_remove_packagerepository_description.py
1488index 5093f0f..0f543a2 100644
1489--- a/src/maasserver/migrations/maasserver/0078_remove_packagerepository_description.py
1490+++ b/src/maasserver/migrations/maasserver/0078_remove_packagerepository_description.py
1491@@ -2,7 +2,6 @@ from django.db import migrations, models
1492
1493
1494 class Migration(migrations.Migration):
1495-
1496 dependencies = [("maasserver", "0077_static_routes")]
1497
1498 operations = [
1499diff --git a/src/maasserver/migrations/maasserver/0079_add_keysource_model.py b/src/maasserver/migrations/maasserver/0079_add_keysource_model.py
1500index e9ffe0b..ab690a5 100644
1501--- a/src/maasserver/migrations/maasserver/0079_add_keysource_model.py
1502+++ b/src/maasserver/migrations/maasserver/0079_add_keysource_model.py
1503@@ -5,7 +5,6 @@ import maasserver.models.cleansave
1504
1505
1506 class Migration(migrations.Migration):
1507-
1508 dependencies = [
1509 ("maasserver", "0078_remove_packagerepository_description")
1510 ]
1511diff --git a/src/maasserver/migrations/maasserver/0080_change_packagerepository_url_type.py b/src/maasserver/migrations/maasserver/0080_change_packagerepository_url_type.py
1512index b144200..f233d53 100644
1513--- a/src/maasserver/migrations/maasserver/0080_change_packagerepository_url_type.py
1514+++ b/src/maasserver/migrations/maasserver/0080_change_packagerepository_url_type.py
1515@@ -4,7 +4,6 @@ import maasserver.fields
1516
1517
1518 class Migration(migrations.Migration):
1519-
1520 dependencies = [("maasserver", "0079_add_keysource_model")]
1521
1522 operations = [
1523diff --git a/src/maasserver/migrations/maasserver/0081_allow_larger_bootsourcecache_fields.py b/src/maasserver/migrations/maasserver/0081_allow_larger_bootsourcecache_fields.py
1524index 6d8f389..4ca2a92 100644
1525--- a/src/maasserver/migrations/maasserver/0081_allow_larger_bootsourcecache_fields.py
1526+++ b/src/maasserver/migrations/maasserver/0081_allow_larger_bootsourcecache_fields.py
1527@@ -2,7 +2,6 @@ from django.db import migrations, models
1528
1529
1530 class Migration(migrations.Migration):
1531-
1532 dependencies = [("maasserver", "0080_change_packagerepository_url_type")]
1533
1534 operations = [
1535diff --git a/src/maasserver/migrations/maasserver/0082_add_kflavor.py b/src/maasserver/migrations/maasserver/0082_add_kflavor.py
1536index ce787aa..04e36a3 100644
1537--- a/src/maasserver/migrations/maasserver/0082_add_kflavor.py
1538+++ b/src/maasserver/migrations/maasserver/0082_add_kflavor.py
1539@@ -20,7 +20,6 @@ def add_kflavor_to_boot_source_cache(apps, schema_editor):
1540
1541
1542 class Migration(migrations.Migration):
1543-
1544 dependencies = [("maasserver", "0081_allow_larger_bootsourcecache_fields")]
1545
1546 operations = [
1547diff --git a/src/maasserver/migrations/maasserver/0083_device_discovery.py b/src/maasserver/migrations/maasserver/0083_device_discovery.py
1548index 41ec181..39a1b04 100644
1549--- a/src/maasserver/migrations/maasserver/0083_device_discovery.py
1550+++ b/src/maasserver/migrations/maasserver/0083_device_discovery.py
1551@@ -6,7 +6,6 @@ import maasserver.models.cleansave
1552
1553
1554 class Migration(migrations.Migration):
1555-
1556 dependencies = [("maasserver", "0082_add_kflavor")]
1557
1558 operations = [
1559diff --git a/src/maasserver/migrations/maasserver/0084_add_default_user_to_node_model.py b/src/maasserver/migrations/maasserver/0084_add_default_user_to_node_model.py
1560index 5d95bd2..9127931 100644
1561--- a/src/maasserver/migrations/maasserver/0084_add_default_user_to_node_model.py
1562+++ b/src/maasserver/migrations/maasserver/0084_add_default_user_to_node_model.py
1563@@ -2,7 +2,6 @@ from django.db import migrations, models
1564
1565
1566 class Migration(migrations.Migration):
1567-
1568 dependencies = [("maasserver", "0083_device_discovery")]
1569
1570 operations = [
1571diff --git a/src/maasserver/migrations/maasserver/0085_no_intro_on_upgrade.py b/src/maasserver/migrations/maasserver/0085_no_intro_on_upgrade.py
1572index 261e532..9be7243 100644
1573--- a/src/maasserver/migrations/maasserver/0085_no_intro_on_upgrade.py
1574+++ b/src/maasserver/migrations/maasserver/0085_no_intro_on_upgrade.py
1575@@ -17,7 +17,6 @@ def no_intro_on_upgrade(apps, schema_editor):
1576
1577
1578 class Migration(migrations.Migration):
1579-
1580 dependencies = [("maasserver", "0084_add_default_user_to_node_model")]
1581
1582 operations = [migrations.RunPython(no_intro_on_upgrade)]
1583diff --git a/src/maasserver/migrations/maasserver/0086_remove_powerpc_from_ports_arches.py b/src/maasserver/migrations/maasserver/0086_remove_powerpc_from_ports_arches.py
1584index 97840c9..f7fc09c 100644
1585--- a/src/maasserver/migrations/maasserver/0086_remove_powerpc_from_ports_arches.py
1586+++ b/src/maasserver/migrations/maasserver/0086_remove_powerpc_from_ports_arches.py
1587@@ -13,7 +13,6 @@ def remove_powerpc_from_ports_arches(apps, schema_editor):
1588
1589
1590 class Migration(migrations.Migration):
1591-
1592 dependencies = [("maasserver", "0085_no_intro_on_upgrade")]
1593
1594 operations = [migrations.RunPython(remove_powerpc_from_ports_arches)]
1595diff --git a/src/maasserver/migrations/maasserver/0087_add_completed_intro_to_userprofile.py b/src/maasserver/migrations/maasserver/0087_add_completed_intro_to_userprofile.py
1596index c73da2c..c99de5c 100644
1597--- a/src/maasserver/migrations/maasserver/0087_add_completed_intro_to_userprofile.py
1598+++ b/src/maasserver/migrations/maasserver/0087_add_completed_intro_to_userprofile.py
1599@@ -2,7 +2,6 @@ from django.db import migrations, models
1600
1601
1602 class Migration(migrations.Migration):
1603-
1604 dependencies = [("maasserver", "0086_remove_powerpc_from_ports_arches")]
1605
1606 operations = [
1607diff --git a/src/maasserver/migrations/maasserver/0088_remove_node_disable_ipv4.py b/src/maasserver/migrations/maasserver/0088_remove_node_disable_ipv4.py
1608index 9b53339..fe0387e 100644
1609--- a/src/maasserver/migrations/maasserver/0088_remove_node_disable_ipv4.py
1610+++ b/src/maasserver/migrations/maasserver/0088_remove_node_disable_ipv4.py
1611@@ -2,7 +2,6 @@ from django.db import migrations, models
1612
1613
1614 class Migration(migrations.Migration):
1615-
1616 dependencies = [("maasserver", "0087_add_completed_intro_to_userprofile")]
1617
1618 operations = [
1619diff --git a/src/maasserver/migrations/maasserver/0089_active_discovery.py b/src/maasserver/migrations/maasserver/0089_active_discovery.py
1620index 2191563..7b892cb 100644
1621--- a/src/maasserver/migrations/maasserver/0089_active_discovery.py
1622+++ b/src/maasserver/migrations/maasserver/0089_active_discovery.py
1623@@ -2,7 +2,6 @@ from django.db import migrations, models
1624
1625
1626 class Migration(migrations.Migration):
1627-
1628 dependencies = [("maasserver", "0088_remove_node_disable_ipv4")]
1629
1630 operations = [
1631diff --git a/src/maasserver/migrations/maasserver/0090_bootloaders.py b/src/maasserver/migrations/maasserver/0090_bootloaders.py
1632index 56fecfe..d9fccf2 100644
1633--- a/src/maasserver/migrations/maasserver/0090_bootloaders.py
1634+++ b/src/maasserver/migrations/maasserver/0090_bootloaders.py
1635@@ -2,7 +2,6 @@ from django.db import migrations, models
1636
1637
1638 class Migration(migrations.Migration):
1639-
1640 dependencies = [("maasserver", "0089_active_discovery")]
1641
1642 operations = [
1643diff --git a/src/maasserver/migrations/maasserver/0091_v2_to_v3.py b/src/maasserver/migrations/maasserver/0091_v2_to_v3.py
1644index dcbabc7..825d974 100644
1645--- a/src/maasserver/migrations/maasserver/0091_v2_to_v3.py
1646+++ b/src/maasserver/migrations/maasserver/0091_v2_to_v3.py
1647@@ -13,7 +13,6 @@ def v2_to_v3(apps, schema_editor):
1648
1649
1650 class Migration(migrations.Migration):
1651-
1652 dependencies = [("maasserver", "0090_bootloaders")]
1653
1654 operations = [migrations.RunPython(v2_to_v3)]
1655diff --git a/src/maasserver/migrations/maasserver/0092_rolling.py b/src/maasserver/migrations/maasserver/0092_rolling.py
1656index 30241dd..25cc8be 100644
1657--- a/src/maasserver/migrations/maasserver/0092_rolling.py
1658+++ b/src/maasserver/migrations/maasserver/0092_rolling.py
1659@@ -2,7 +2,6 @@ from django.db import migrations, models
1660
1661
1662 class Migration(migrations.Migration):
1663-
1664 dependencies = [("maasserver", "0091_v2_to_v3")]
1665
1666 operations = [
1667diff --git a/src/maasserver/migrations/maasserver/0093_add_rdns_model.py b/src/maasserver/migrations/maasserver/0093_add_rdns_model.py
1668index e3bc18a..824fe98 100644
1669--- a/src/maasserver/migrations/maasserver/0093_add_rdns_model.py
1670+++ b/src/maasserver/migrations/maasserver/0093_add_rdns_model.py
1671@@ -6,7 +6,6 @@ import maasserver.models.cleansave
1672
1673
1674 class Migration(migrations.Migration):
1675-
1676 dependencies = [("maasserver", "0092_rolling")]
1677
1678 operations = [
1679diff --git a/src/maasserver/migrations/maasserver/0094_add_unmanaged_subnets.py b/src/maasserver/migrations/maasserver/0094_add_unmanaged_subnets.py
1680index 405fa6c..5aaae01 100644
1681--- a/src/maasserver/migrations/maasserver/0094_add_unmanaged_subnets.py
1682+++ b/src/maasserver/migrations/maasserver/0094_add_unmanaged_subnets.py
1683@@ -2,7 +2,6 @@ from django.db import migrations, models
1684
1685
1686 class Migration(migrations.Migration):
1687-
1688 dependencies = [("maasserver", "0093_add_rdns_model")]
1689
1690 operations = [
1691diff --git a/src/maasserver/migrations/maasserver/0095_vlan_relay_vlan.py b/src/maasserver/migrations/maasserver/0095_vlan_relay_vlan.py
1692index f2d83df..14f9f8a 100644
1693--- a/src/maasserver/migrations/maasserver/0095_vlan_relay_vlan.py
1694+++ b/src/maasserver/migrations/maasserver/0095_vlan_relay_vlan.py
1695@@ -3,7 +3,6 @@ import django.db.models.deletion
1696
1697
1698 class Migration(migrations.Migration):
1699-
1700 dependencies = [("maasserver", "0094_add_unmanaged_subnets")]
1701
1702 operations = [
1703diff --git a/src/maasserver/migrations/maasserver/0096_set_default_vlan_field.py b/src/maasserver/migrations/maasserver/0096_set_default_vlan_field.py
1704index f2b7ded..608d6c8 100644
1705--- a/src/maasserver/migrations/maasserver/0096_set_default_vlan_field.py
1706+++ b/src/maasserver/migrations/maasserver/0096_set_default_vlan_field.py
1707@@ -3,7 +3,6 @@ import django.db.models.deletion
1708
1709
1710 class Migration(migrations.Migration):
1711-
1712 dependencies = [("maasserver", "0095_vlan_relay_vlan")]
1713
1714 operations = [
1715diff --git a/src/maasserver/migrations/maasserver/0097_node_chassis_storage_hints.py b/src/maasserver/migrations/maasserver/0097_node_chassis_storage_hints.py
1716index 1ce89b0..4a06319 100644
1717--- a/src/maasserver/migrations/maasserver/0097_node_chassis_storage_hints.py
1718+++ b/src/maasserver/migrations/maasserver/0097_node_chassis_storage_hints.py
1719@@ -6,7 +6,6 @@ import maasserver.models.node
1720
1721
1722 class Migration(migrations.Migration):
1723-
1724 dependencies = [("maasserver", "0096_set_default_vlan_field")]
1725
1726 operations = [
1727diff --git a/src/maasserver/migrations/maasserver/0098_add_space_to_vlan.py b/src/maasserver/migrations/maasserver/0098_add_space_to_vlan.py
1728index f3729a6..61892a5 100644
1729--- a/src/maasserver/migrations/maasserver/0098_add_space_to_vlan.py
1730+++ b/src/maasserver/migrations/maasserver/0098_add_space_to_vlan.py
1731@@ -5,7 +5,6 @@ import maasserver.models.subnet
1732
1733
1734 class Migration(migrations.Migration):
1735-
1736 dependencies = [("maasserver", "0097_node_chassis_storage_hints")]
1737
1738 operations = [
1739diff --git a/src/maasserver/migrations/maasserver/0099_set_default_vlan_field.py b/src/maasserver/migrations/maasserver/0099_set_default_vlan_field.py
1740index a8dfb47..0db9fd3 100644
1741--- a/src/maasserver/migrations/maasserver/0099_set_default_vlan_field.py
1742+++ b/src/maasserver/migrations/maasserver/0099_set_default_vlan_field.py
1743@@ -5,7 +5,6 @@ import maasserver.models.subnet
1744
1745
1746 class Migration(migrations.Migration):
1747-
1748 dependencies = [("maasserver", "0098_add_space_to_vlan")]
1749
1750 operations = [
1751diff --git a/src/maasserver/migrations/maasserver/0100_migrate_spaces_from_subnet_to_vlan.py b/src/maasserver/migrations/maasserver/0100_migrate_spaces_from_subnet_to_vlan.py
1752index 24ddccc..86bd7bc 100644
1753--- a/src/maasserver/migrations/maasserver/0100_migrate_spaces_from_subnet_to_vlan.py
1754+++ b/src/maasserver/migrations/maasserver/0100_migrate_spaces_from_subnet_to_vlan.py
1755@@ -34,7 +34,6 @@ def migrate_spaces_from_subnet_to_vlan(apps, schema_editor):
1756
1757
1758 class Migration(migrations.Migration):
1759-
1760 dependencies = [("maasserver", "0099_set_default_vlan_field")]
1761
1762 operations = [migrations.RunPython(migrate_spaces_from_subnet_to_vlan)]
1763diff --git a/src/maasserver/migrations/maasserver/0101_filesystem_btrfs_support.py b/src/maasserver/migrations/maasserver/0101_filesystem_btrfs_support.py
1764index 73edffa..7f33c37 100644
1765--- a/src/maasserver/migrations/maasserver/0101_filesystem_btrfs_support.py
1766+++ b/src/maasserver/migrations/maasserver/0101_filesystem_btrfs_support.py
1767@@ -2,7 +2,6 @@ from django.db import migrations, models
1768
1769
1770 class Migration(migrations.Migration):
1771-
1772 dependencies = [("maasserver", "0100_migrate_spaces_from_subnet_to_vlan")]
1773
1774 operations = [
1775diff --git a/src/maasserver/migrations/maasserver/0102_remove_space_from_subnet.py b/src/maasserver/migrations/maasserver/0102_remove_space_from_subnet.py
1776index f426ecf..487e017 100644
1777--- a/src/maasserver/migrations/maasserver/0102_remove_space_from_subnet.py
1778+++ b/src/maasserver/migrations/maasserver/0102_remove_space_from_subnet.py
1779@@ -2,7 +2,6 @@ from django.db import migrations, models
1780
1781
1782 class Migration(migrations.Migration):
1783-
1784 dependencies = [("maasserver", "0101_filesystem_btrfs_support")]
1785
1786 operations = [
1787diff --git a/src/maasserver/migrations/maasserver/0103_notifications.py b/src/maasserver/migrations/maasserver/0103_notifications.py
1788index 5a1e3e7..870cc08 100644
1789--- a/src/maasserver/migrations/maasserver/0103_notifications.py
1790+++ b/src/maasserver/migrations/maasserver/0103_notifications.py
1791@@ -7,7 +7,6 @@ import maasserver.models.cleansave
1792
1793
1794 class Migration(migrations.Migration):
1795-
1796 dependencies = [
1797 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1798 ("maasserver", "0102_remove_space_from_subnet"),
1799diff --git a/src/maasserver/migrations/maasserver/0104_notifications_dismissals.py b/src/maasserver/migrations/maasserver/0104_notifications_dismissals.py
1800index a57f02f..4d6edc4 100644
1801--- a/src/maasserver/migrations/maasserver/0104_notifications_dismissals.py
1802+++ b/src/maasserver/migrations/maasserver/0104_notifications_dismissals.py
1803@@ -4,7 +4,6 @@ from django.db import migrations, models
1804
1805
1806 class Migration(migrations.Migration):
1807-
1808 dependencies = [
1809 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1810 ("maasserver", "0103_notifications"),
1811diff --git a/src/maasserver/migrations/maasserver/0105_add_script_sets_to_node_model.py b/src/maasserver/migrations/maasserver/0105_add_script_sets_to_node_model.py
1812index c7ba0e6..5310e6a 100644
1813--- a/src/maasserver/migrations/maasserver/0105_add_script_sets_to_node_model.py
1814+++ b/src/maasserver/migrations/maasserver/0105_add_script_sets_to_node_model.py
1815@@ -3,7 +3,6 @@ import django.db.models.deletion
1816
1817
1818 class Migration(migrations.Migration):
1819-
1820 dependencies = [
1821 ("metadataserver", "0002_script_models"),
1822 ("maasserver", "0104_notifications_dismissals"),
1823diff --git a/src/maasserver/migrations/maasserver/0106_testing_status.py b/src/maasserver/migrations/maasserver/0106_testing_status.py
1824index e7665df..1a251a5 100644
1825--- a/src/maasserver/migrations/maasserver/0106_testing_status.py
1826+++ b/src/maasserver/migrations/maasserver/0106_testing_status.py
1827@@ -2,7 +2,6 @@ from django.db import migrations, models
1828
1829
1830 class Migration(migrations.Migration):
1831-
1832 dependencies = [("maasserver", "0105_add_script_sets_to_node_model")]
1833
1834 operations = [
1835diff --git a/src/maasserver/migrations/maasserver/0107_chassis_to_pods.py b/src/maasserver/migrations/maasserver/0107_chassis_to_pods.py
1836index 202f906..6f775a5 100644
1837--- a/src/maasserver/migrations/maasserver/0107_chassis_to_pods.py
1838+++ b/src/maasserver/migrations/maasserver/0107_chassis_to_pods.py
1839@@ -5,7 +5,6 @@ import maasserver.models.cleansave
1840
1841
1842 class Migration(migrations.Migration):
1843-
1844 dependencies = [("maasserver", "0106_testing_status")]
1845
1846 operations = [
1847diff --git a/src/maasserver/migrations/maasserver/0108_generate_bmc_names.py b/src/maasserver/migrations/maasserver/0108_generate_bmc_names.py
1848index c0897ed..7d70420 100644
1849--- a/src/maasserver/migrations/maasserver/0108_generate_bmc_names.py
1850+++ b/src/maasserver/migrations/maasserver/0108_generate_bmc_names.py
1851@@ -15,7 +15,6 @@ def generate_bmc_names(apps, schema_editor):
1852
1853
1854 class Migration(migrations.Migration):
1855-
1856 dependencies = [("maasserver", "0107_chassis_to_pods")]
1857
1858 operations = [migrations.RunPython(generate_bmc_names)]
1859diff --git a/src/maasserver/migrations/maasserver/0109_bmc_names_unique.py b/src/maasserver/migrations/maasserver/0109_bmc_names_unique.py
1860index 60c45bd..a6fc8a0 100644
1861--- a/src/maasserver/migrations/maasserver/0109_bmc_names_unique.py
1862+++ b/src/maasserver/migrations/maasserver/0109_bmc_names_unique.py
1863@@ -2,7 +2,6 @@ from django.db import migrations, models
1864
1865
1866 class Migration(migrations.Migration):
1867-
1868 dependencies = [("maasserver", "0108_generate_bmc_names")]
1869
1870 operations = [
1871diff --git a/src/maasserver/migrations/maasserver/0110_notification_category.py b/src/maasserver/migrations/maasserver/0110_notification_category.py
1872index c33917f..0cc161e 100644
1873--- a/src/maasserver/migrations/maasserver/0110_notification_category.py
1874+++ b/src/maasserver/migrations/maasserver/0110_notification_category.py
1875@@ -2,7 +2,6 @@ from django.db import migrations, models
1876
1877
1878 class Migration(migrations.Migration):
1879-
1880 dependencies = [("maasserver", "0109_bmc_names_unique")]
1881
1882 operations = [
1883diff --git a/src/maasserver/migrations/maasserver/0111_remove_component_error.py b/src/maasserver/migrations/maasserver/0111_remove_component_error.py
1884index c81dabe..e8c9a50 100644
1885--- a/src/maasserver/migrations/maasserver/0111_remove_component_error.py
1886+++ b/src/maasserver/migrations/maasserver/0111_remove_component_error.py
1887@@ -2,7 +2,6 @@ from django.db import migrations
1888
1889
1890 class Migration(migrations.Migration):
1891-
1892 dependencies = [("maasserver", "0110_notification_category")]
1893
1894 operations = [migrations.DeleteModel(name="ComponentError")]
1895diff --git a/src/maasserver/migrations/maasserver/0112_update_notification.py b/src/maasserver/migrations/maasserver/0112_update_notification.py
1896index 84c1413..0202674 100644
1897--- a/src/maasserver/migrations/maasserver/0112_update_notification.py
1898+++ b/src/maasserver/migrations/maasserver/0112_update_notification.py
1899@@ -3,7 +3,6 @@ from django.db import migrations, models
1900
1901
1902 class Migration(migrations.Migration):
1903-
1904 dependencies = [("maasserver", "0111_remove_component_error")]
1905
1906 operations = [
1907diff --git a/src/maasserver/migrations/maasserver/0113_set_filepath_limit_to_linux_max.py b/src/maasserver/migrations/maasserver/0113_set_filepath_limit_to_linux_max.py
1908index 8687419..9f7025f 100644
1909--- a/src/maasserver/migrations/maasserver/0113_set_filepath_limit_to_linux_max.py
1910+++ b/src/maasserver/migrations/maasserver/0113_set_filepath_limit_to_linux_max.py
1911@@ -2,7 +2,6 @@ from django.db import migrations, models
1912
1913
1914 class Migration(migrations.Migration):
1915-
1916 dependencies = [("maasserver", "0112_update_notification")]
1917
1918 operations = [
1919diff --git a/src/maasserver/migrations/maasserver/0114_node_dynamic_to_creation_type.py b/src/maasserver/migrations/maasserver/0114_node_dynamic_to_creation_type.py
1920index 1607186..9456403 100644
1921--- a/src/maasserver/migrations/maasserver/0114_node_dynamic_to_creation_type.py
1922+++ b/src/maasserver/migrations/maasserver/0114_node_dynamic_to_creation_type.py
1923@@ -2,7 +2,6 @@ from django.db import migrations, models
1924
1925
1926 class Migration(migrations.Migration):
1927-
1928 dependencies = [("maasserver", "0113_set_filepath_limit_to_linux_max")]
1929
1930 operations = [
1931diff --git a/src/maasserver/migrations/maasserver/0115_additional_boot_resource_filetypes.py b/src/maasserver/migrations/maasserver/0115_additional_boot_resource_filetypes.py
1932index 1404d5d..044a9a4 100644
1933--- a/src/maasserver/migrations/maasserver/0115_additional_boot_resource_filetypes.py
1934+++ b/src/maasserver/migrations/maasserver/0115_additional_boot_resource_filetypes.py
1935@@ -2,7 +2,6 @@ from django.db import migrations, models
1936
1937
1938 class Migration(migrations.Migration):
1939-
1940 dependencies = [("maasserver", "0114_node_dynamic_to_creation_type")]
1941
1942 operations = [
1943diff --git a/src/maasserver/migrations/maasserver/0116_add_disabled_components_for_mirrors.py b/src/maasserver/migrations/maasserver/0116_add_disabled_components_for_mirrors.py
1944index 200d69b..9d3c1f0 100644
1945--- a/src/maasserver/migrations/maasserver/0116_add_disabled_components_for_mirrors.py
1946+++ b/src/maasserver/migrations/maasserver/0116_add_disabled_components_for_mirrors.py
1947@@ -3,7 +3,6 @@ from django.db import migrations, models
1948
1949
1950 class Migration(migrations.Migration):
1951-
1952 dependencies = [("maasserver", "0115_additional_boot_resource_filetypes")]
1953
1954 operations = [
1955diff --git a/src/maasserver/migrations/maasserver/0117_add_iscsi_block_device.py b/src/maasserver/migrations/maasserver/0117_add_iscsi_block_device.py
1956index 98d540d..4ccd0b0 100644
1957--- a/src/maasserver/migrations/maasserver/0117_add_iscsi_block_device.py
1958+++ b/src/maasserver/migrations/maasserver/0117_add_iscsi_block_device.py
1959@@ -2,7 +2,6 @@ from django.db import migrations, models
1960
1961
1962 class Migration(migrations.Migration):
1963-
1964 dependencies = [("maasserver", "0116_add_disabled_components_for_mirrors")]
1965
1966 operations = [
1967diff --git a/src/maasserver/migrations/maasserver/0118_add_iscsi_storage_pod.py b/src/maasserver/migrations/maasserver/0118_add_iscsi_storage_pod.py
1968index 712464b..ac85ba8 100644
1969--- a/src/maasserver/migrations/maasserver/0118_add_iscsi_storage_pod.py
1970+++ b/src/maasserver/migrations/maasserver/0118_add_iscsi_storage_pod.py
1971@@ -2,7 +2,6 @@ from django.db import migrations, models
1972
1973
1974 class Migration(migrations.Migration):
1975-
1976 dependencies = [("maasserver", "0117_add_iscsi_block_device")]
1977
1978 operations = [
1979diff --git a/src/maasserver/migrations/maasserver/0119_set_default_vlan_field.py b/src/maasserver/migrations/maasserver/0119_set_default_vlan_field.py
1980index fa43bd4..715f14c 100644
1981--- a/src/maasserver/migrations/maasserver/0119_set_default_vlan_field.py
1982+++ b/src/maasserver/migrations/maasserver/0119_set_default_vlan_field.py
1983@@ -2,7 +2,6 @@ from django.db import migrations
1984
1985
1986 class Migration(migrations.Migration):
1987-
1988 dependencies = [("maasserver", "0118_add_iscsi_storage_pod")]
1989
1990 # convert this to a no-op as it was previously updating the Subnet.vlan
1991diff --git a/src/maasserver/migrations/maasserver/0120_bootsourcecache_extra.py b/src/maasserver/migrations/maasserver/0120_bootsourcecache_extra.py
1992index 2c57f34..bff386d 100644
1993--- a/src/maasserver/migrations/maasserver/0120_bootsourcecache_extra.py
1994+++ b/src/maasserver/migrations/maasserver/0120_bootsourcecache_extra.py
1995@@ -4,7 +4,6 @@ import maasserver.migrations.fields
1996
1997
1998 class Migration(migrations.Migration):
1999-
2000 dependencies = [("maasserver", "0119_set_default_vlan_field")]
2001
2002 operations = [
2003diff --git a/src/maasserver/migrations/maasserver/0121_relax_staticipaddress_unique_constraint.py b/src/maasserver/migrations/maasserver/0121_relax_staticipaddress_unique_constraint.py
2004index 8128b1c..a80353b 100644
2005--- a/src/maasserver/migrations/maasserver/0121_relax_staticipaddress_unique_constraint.py
2006+++ b/src/maasserver/migrations/maasserver/0121_relax_staticipaddress_unique_constraint.py
2007@@ -11,7 +11,6 @@ staticipaddress_unique_index_create = (
2008
2009
2010 class Migration(migrations.Migration):
2011-
2012 dependencies = [("maasserver", "0120_bootsourcecache_extra")]
2013
2014 operations = [
2015diff --git a/src/maasserver/migrations/maasserver/0122_make_virtualblockdevice_uuid_editable.py b/src/maasserver/migrations/maasserver/0122_make_virtualblockdevice_uuid_editable.py
2016index 671bb9d..4b363c1 100644
2017--- a/src/maasserver/migrations/maasserver/0122_make_virtualblockdevice_uuid_editable.py
2018+++ b/src/maasserver/migrations/maasserver/0122_make_virtualblockdevice_uuid_editable.py
2019@@ -2,7 +2,6 @@ from django.db import migrations, models
2020
2021
2022 class Migration(migrations.Migration):
2023-
2024 dependencies = [
2025 ("maasserver", "0121_relax_staticipaddress_unique_constraint")
2026 ]
2027diff --git a/src/maasserver/migrations/maasserver/0123_make_iprange_comment_default_to_empty_string.py b/src/maasserver/migrations/maasserver/0123_make_iprange_comment_default_to_empty_string.py
2028index a1ad39e..eaffe41 100644
2029--- a/src/maasserver/migrations/maasserver/0123_make_iprange_comment_default_to_empty_string.py
2030+++ b/src/maasserver/migrations/maasserver/0123_make_iprange_comment_default_to_empty_string.py
2031@@ -4,7 +4,6 @@ from django.db import migrations, models
2032
2033
2034 class Migration(migrations.Migration):
2035-
2036 dependencies = [
2037 ("maasserver", "0122_make_virtualblockdevice_uuid_editable")
2038 ]
2039diff --git a/src/maasserver/migrations/maasserver/0124_staticipaddress_address_family_index.py b/src/maasserver/migrations/maasserver/0124_staticipaddress_address_family_index.py
2040index 1d03213..361743e 100644
2041--- a/src/maasserver/migrations/maasserver/0124_staticipaddress_address_family_index.py
2042+++ b/src/maasserver/migrations/maasserver/0124_staticipaddress_address_family_index.py
2043@@ -2,7 +2,6 @@ from django.db import migrations, models
2044
2045
2046 class Migration(migrations.Migration):
2047-
2048 dependencies = [
2049 ("maasserver", "0123_make_iprange_comment_default_to_empty_string")
2050 ]
2051diff --git a/src/maasserver/migrations/maasserver/0125_add_switch_model.py b/src/maasserver/migrations/maasserver/0125_add_switch_model.py
2052index b0875dc..f8c46fd 100644
2053--- a/src/maasserver/migrations/maasserver/0125_add_switch_model.py
2054+++ b/src/maasserver/migrations/maasserver/0125_add_switch_model.py
2055@@ -5,7 +5,6 @@ import maasserver.models.cleansave
2056
2057
2058 class Migration(migrations.Migration):
2059-
2060 dependencies = [
2061 ("maasserver", "0124_staticipaddress_address_family_index")
2062 ]
2063diff --git a/src/maasserver/migrations/maasserver/0126_add_controllerinfo_model.py b/src/maasserver/migrations/maasserver/0126_add_controllerinfo_model.py
2064index a7f1988..98cd07f 100644
2065--- a/src/maasserver/migrations/maasserver/0126_add_controllerinfo_model.py
2066+++ b/src/maasserver/migrations/maasserver/0126_add_controllerinfo_model.py
2067@@ -5,7 +5,6 @@ import maasserver.models.cleansave
2068
2069
2070 class Migration(migrations.Migration):
2071-
2072 dependencies = [("maasserver", "0125_add_switch_model")]
2073
2074 operations = [
2075diff --git a/src/maasserver/migrations/maasserver/0127_nodemetadata.py b/src/maasserver/migrations/maasserver/0127_nodemetadata.py
2076index f056c0d..95e116b 100644
2077--- a/src/maasserver/migrations/maasserver/0127_nodemetadata.py
2078+++ b/src/maasserver/migrations/maasserver/0127_nodemetadata.py
2079@@ -4,7 +4,6 @@ import maasserver.models.cleansave
2080
2081
2082 class Migration(migrations.Migration):
2083-
2084 dependencies = [("maasserver", "0126_add_controllerinfo_model")]
2085
2086 operations = [
2087diff --git a/src/maasserver/migrations/maasserver/0128_events_created_index.py b/src/maasserver/migrations/maasserver/0128_events_created_index.py
2088index 10754e1..3c36d24 100644
2089--- a/src/maasserver/migrations/maasserver/0128_events_created_index.py
2090+++ b/src/maasserver/migrations/maasserver/0128_events_created_index.py
2091@@ -2,7 +2,6 @@ from django.db import migrations, models
2092
2093
2094 class Migration(migrations.Migration):
2095-
2096 dependencies = [("maasserver", "0127_nodemetadata")]
2097
2098 operations = [
2099diff --git a/src/maasserver/migrations/maasserver/0129_add_install_rackd_flag.py b/src/maasserver/migrations/maasserver/0129_add_install_rackd_flag.py
2100index 81d31b0..67048eb 100644
2101--- a/src/maasserver/migrations/maasserver/0129_add_install_rackd_flag.py
2102+++ b/src/maasserver/migrations/maasserver/0129_add_install_rackd_flag.py
2103@@ -2,7 +2,6 @@ from django.db import migrations, models
2104
2105
2106 class Migration(migrations.Migration):
2107-
2108 dependencies = [("maasserver", "0128_events_created_index")]
2109
2110 operations = [
2111diff --git a/src/maasserver/migrations/maasserver/0130_node_locked_flag.py b/src/maasserver/migrations/maasserver/0130_node_locked_flag.py
2112index aec311d..f946a27 100644
2113--- a/src/maasserver/migrations/maasserver/0130_node_locked_flag.py
2114+++ b/src/maasserver/migrations/maasserver/0130_node_locked_flag.py
2115@@ -2,7 +2,6 @@ from django.db import migrations, models
2116
2117
2118 class Migration(migrations.Migration):
2119-
2120 dependencies = [("maasserver", "0129_add_install_rackd_flag")]
2121
2122 operations = [
2123diff --git a/src/maasserver/migrations/maasserver/0131_update_event_model_for_audit_logs.py b/src/maasserver/migrations/maasserver/0131_update_event_model_for_audit_logs.py
2124index f0528ee..4fc4ec9 100644
2125--- a/src/maasserver/migrations/maasserver/0131_update_event_model_for_audit_logs.py
2126+++ b/src/maasserver/migrations/maasserver/0131_update_event_model_for_audit_logs.py
2127@@ -6,7 +6,6 @@ import maasserver.utils.dns
2128
2129
2130 class Migration(migrations.Migration):
2131-
2132 dependencies = [
2133 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
2134 ("maasserver", "0130_node_locked_flag"),
2135diff --git a/src/maasserver/migrations/maasserver/0132_consistent_model_name_validation.py b/src/maasserver/migrations/maasserver/0132_consistent_model_name_validation.py
2136index b043bb7..5505ef8 100644
2137--- a/src/maasserver/migrations/maasserver/0132_consistent_model_name_validation.py
2138+++ b/src/maasserver/migrations/maasserver/0132_consistent_model_name_validation.py
2139@@ -3,7 +3,6 @@ from django.db import migrations, models
2140
2141
2142 class Migration(migrations.Migration):
2143-
2144 dependencies = [("maasserver", "0131_update_event_model_for_audit_logs")]
2145
2146 operations = [
2147diff --git a/src/maasserver/migrations/maasserver/0133_add_resourcepool_model.py b/src/maasserver/migrations/maasserver/0133_add_resourcepool_model.py
2148index 0ba7c4c..565dd47 100644
2149--- a/src/maasserver/migrations/maasserver/0133_add_resourcepool_model.py
2150+++ b/src/maasserver/migrations/maasserver/0133_add_resourcepool_model.py
2151@@ -5,7 +5,6 @@ import maasserver.models.cleansave
2152
2153
2154 class Migration(migrations.Migration):
2155-
2156 dependencies = [("maasserver", "0132_consistent_model_name_validation")]
2157
2158 operations = [
2159diff --git a/src/maasserver/migrations/maasserver/0134_create_default_resourcepool.py b/src/maasserver/migrations/maasserver/0134_create_default_resourcepool.py
2160index 97f5977..37f5a8c 100644
2161--- a/src/maasserver/migrations/maasserver/0134_create_default_resourcepool.py
2162+++ b/src/maasserver/migrations/maasserver/0134_create_default_resourcepool.py
2163@@ -23,7 +23,6 @@ def forwards(apps, schema_editor):
2164
2165
2166 class Migration(migrations.Migration):
2167-
2168 dependencies = [("maasserver", "0133_add_resourcepool_model")]
2169
2170 operations = [migrations.RunPython(forwards)]
2171diff --git a/src/maasserver/migrations/maasserver/0135_add_pool_reference_to_node.py b/src/maasserver/migrations/maasserver/0135_add_pool_reference_to_node.py
2172index f52ee85..375ce35 100644
2173--- a/src/maasserver/migrations/maasserver/0135_add_pool_reference_to_node.py
2174+++ b/src/maasserver/migrations/maasserver/0135_add_pool_reference_to_node.py
2175@@ -11,7 +11,6 @@ def set_machines_default_resource_pool(apps, schema_editor):
2176
2177
2178 class Migration(migrations.Migration):
2179-
2180 dependencies = [("maasserver", "0134_create_default_resourcepool")]
2181
2182 operations = [
2183diff --git a/src/maasserver/migrations/maasserver/0136_add_user_role_models.py b/src/maasserver/migrations/maasserver/0136_add_user_role_models.py
2184index 6006a52..f9fd99d 100644
2185--- a/src/maasserver/migrations/maasserver/0136_add_user_role_models.py
2186+++ b/src/maasserver/migrations/maasserver/0136_add_user_role_models.py
2187@@ -4,7 +4,6 @@ from django.db import migrations, models
2188
2189
2190 class Migration(migrations.Migration):
2191-
2192 dependencies = [
2193 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
2194 ("maasserver", "0135_add_pool_reference_to_node"),
2195diff --git a/src/maasserver/migrations/maasserver/0137_create_default_roles.py b/src/maasserver/migrations/maasserver/0137_create_default_roles.py
2196index bd1f715..dbc2004 100644
2197--- a/src/maasserver/migrations/maasserver/0137_create_default_roles.py
2198+++ b/src/maasserver/migrations/maasserver/0137_create_default_roles.py
2199@@ -24,7 +24,6 @@ def forwards(apps, schema_editor):
2200
2201
2202 class Migration(migrations.Migration):
2203-
2204 dependencies = [
2205 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
2206 ("maasserver", "0136_add_user_role_models"),
2207diff --git a/src/maasserver/migrations/maasserver/0138_add_ip_and_user_agent_to_event_model.py b/src/maasserver/migrations/maasserver/0138_add_ip_and_user_agent_to_event_model.py
2208index ab3ce9b..d4bce45 100644
2209--- a/src/maasserver/migrations/maasserver/0138_add_ip_and_user_agent_to_event_model.py
2210+++ b/src/maasserver/migrations/maasserver/0138_add_ip_and_user_agent_to_event_model.py
2211@@ -4,7 +4,6 @@ from django.db import migrations, models
2212
2213
2214 class Migration(migrations.Migration):
2215-
2216 dependencies = [("maasserver", "0137_create_default_roles")]
2217
2218 operations = [
2219diff --git a/src/maasserver/migrations/maasserver/0139_add_endpoint_and_increase_user_agent_length_for_event.py b/src/maasserver/migrations/maasserver/0139_add_endpoint_and_increase_user_agent_length_for_event.py
2220index 2be9707..5782db5 100644
2221--- a/src/maasserver/migrations/maasserver/0139_add_endpoint_and_increase_user_agent_length_for_event.py
2222+++ b/src/maasserver/migrations/maasserver/0139_add_endpoint_and_increase_user_agent_length_for_event.py
2223@@ -4,7 +4,6 @@ from django.db import migrations, models
2224
2225
2226 class Migration(migrations.Migration):
2227-
2228 dependencies = [
2229 ("maasserver", "0138_add_ip_and_user_agent_to_event_model")
2230 ]
2231diff --git a/src/maasserver/migrations/maasserver/0140_add_usergroup_model.py b/src/maasserver/migrations/maasserver/0140_add_usergroup_model.py
2232index 66d2e85..eabd575 100644
2233--- a/src/maasserver/migrations/maasserver/0140_add_usergroup_model.py
2234+++ b/src/maasserver/migrations/maasserver/0140_add_usergroup_model.py
2235@@ -9,7 +9,6 @@ import maasserver.models.cleansave
2236
2237
2238 class Migration(migrations.Migration):
2239-
2240 dependencies = [
2241 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
2242 (
2243diff --git a/src/maasserver/migrations/maasserver/0141_add_default_usergroup.py b/src/maasserver/migrations/maasserver/0141_add_default_usergroup.py
2244index 8f5202f..580f830 100644
2245--- a/src/maasserver/migrations/maasserver/0141_add_default_usergroup.py
2246+++ b/src/maasserver/migrations/maasserver/0141_add_default_usergroup.py
2247@@ -30,7 +30,6 @@ def forwards(apps, schema_editor):
2248
2249
2250 class Migration(migrations.Migration):
2251-
2252 dependencies = [("maasserver", "0140_add_usergroup_model")]
2253
2254 operations = [migrations.RunPython(forwards)]
2255diff --git a/src/maasserver/migrations/maasserver/0142_pod_default_resource_pool.py b/src/maasserver/migrations/maasserver/0142_pod_default_resource_pool.py
2256index c288257..b4e4994 100644
2257--- a/src/maasserver/migrations/maasserver/0142_pod_default_resource_pool.py
2258+++ b/src/maasserver/migrations/maasserver/0142_pod_default_resource_pool.py
2259@@ -13,7 +13,6 @@ def set_pod_default_resource_pool(apps, schema_editor):
2260
2261
2262 class Migration(migrations.Migration):
2263-
2264 dependencies = [("maasserver", "0141_add_default_usergroup")]
2265
2266 operations = [
2267diff --git a/src/maasserver/migrations/maasserver/0143_blockdevice_firmware.py b/src/maasserver/migrations/maasserver/0143_blockdevice_firmware.py
2268index af43c29..4918df1 100644
2269--- a/src/maasserver/migrations/maasserver/0143_blockdevice_firmware.py
2270+++ b/src/maasserver/migrations/maasserver/0143_blockdevice_firmware.py
2271@@ -4,7 +4,6 @@ from django.db import migrations, models
2272
2273
2274 class Migration(migrations.Migration):
2275-
2276 dependencies = [("maasserver", "0142_pod_default_resource_pool")]
2277
2278 operations = [
2279diff --git a/src/maasserver/migrations/maasserver/0144_filesystem_zfsroot_support.py b/src/maasserver/migrations/maasserver/0144_filesystem_zfsroot_support.py
2280index 7071c2e..822e15f 100644
2281--- a/src/maasserver/migrations/maasserver/0144_filesystem_zfsroot_support.py
2282+++ b/src/maasserver/migrations/maasserver/0144_filesystem_zfsroot_support.py
2283@@ -4,7 +4,6 @@ from django.db import migrations, models
2284
2285
2286 class Migration(migrations.Migration):
2287-
2288 dependencies = [("maasserver", "0143_blockdevice_firmware")]
2289
2290 operations = [
2291diff --git a/src/maasserver/migrations/maasserver/0145_interface_firmware.py b/src/maasserver/migrations/maasserver/0145_interface_firmware.py
2292index af9491c..edde190 100644
2293--- a/src/maasserver/migrations/maasserver/0145_interface_firmware.py
2294+++ b/src/maasserver/migrations/maasserver/0145_interface_firmware.py
2295@@ -4,7 +4,6 @@ from django.db import migrations, models
2296
2297
2298 class Migration(migrations.Migration):
2299-
2300 dependencies = [("maasserver", "0144_filesystem_zfsroot_support")]
2301
2302 operations = [
2303diff --git a/src/maasserver/migrations/maasserver/0146_add_rootkey.py b/src/maasserver/migrations/maasserver/0146_add_rootkey.py
2304index 792eb11..c34081e 100644
2305--- a/src/maasserver/migrations/maasserver/0146_add_rootkey.py
2306+++ b/src/maasserver/migrations/maasserver/0146_add_rootkey.py
2307@@ -4,7 +4,6 @@ from django.db import migrations, models
2308
2309
2310 class Migration(migrations.Migration):
2311-
2312 dependencies = [("maasserver", "0145_interface_firmware")]
2313
2314 operations = [
2315diff --git a/src/maasserver/migrations/maasserver/0147_pod_zones.py b/src/maasserver/migrations/maasserver/0147_pod_zones.py
2316index 35666e4..a9597c5 100644
2317--- a/src/maasserver/migrations/maasserver/0147_pod_zones.py
2318+++ b/src/maasserver/migrations/maasserver/0147_pod_zones.py
2319@@ -7,7 +7,6 @@ import maasserver.models.node
2320
2321
2322 class Migration(migrations.Migration):
2323-
2324 dependencies = [("maasserver", "0146_add_rootkey")]
2325
2326 operations = [
2327diff --git a/src/maasserver/migrations/maasserver/0148_add_tags_on_pods.py b/src/maasserver/migrations/maasserver/0148_add_tags_on_pods.py
2328index cfb8d6e..85c05d0 100644
2329--- a/src/maasserver/migrations/maasserver/0148_add_tags_on_pods.py
2330+++ b/src/maasserver/migrations/maasserver/0148_add_tags_on_pods.py
2331@@ -5,7 +5,6 @@ from django.db import migrations, models
2332
2333
2334 class Migration(migrations.Migration):
2335-
2336 dependencies = [("maasserver", "0147_pod_zones")]
2337
2338 operations = [
2339diff --git a/src/maasserver/migrations/maasserver/0149_userprofile_auth_last_check.py b/src/maasserver/migrations/maasserver/0149_userprofile_auth_last_check.py
2340index de8419e..cb69d05 100644
2341--- a/src/maasserver/migrations/maasserver/0149_userprofile_auth_last_check.py
2342+++ b/src/maasserver/migrations/maasserver/0149_userprofile_auth_last_check.py
2343@@ -4,7 +4,6 @@ from django.db import migrations, models
2344
2345
2346 class Migration(migrations.Migration):
2347-
2348 dependencies = [("maasserver", "0148_add_tags_on_pods")]
2349
2350 operations = [
2351diff --git a/src/maasserver/migrations/maasserver/0150_add_pod_commit_ratios.py b/src/maasserver/migrations/maasserver/0150_add_pod_commit_ratios.py
2352index cefc49a..359e495 100644
2353--- a/src/maasserver/migrations/maasserver/0150_add_pod_commit_ratios.py
2354+++ b/src/maasserver/migrations/maasserver/0150_add_pod_commit_ratios.py
2355@@ -5,7 +5,6 @@ from django.db import migrations, models
2356
2357
2358 class Migration(migrations.Migration):
2359-
2360 dependencies = [("maasserver", "0149_userprofile_auth_last_check")]
2361
2362 operations = [
2363diff --git a/src/maasserver/migrations/maasserver/0151_userprofile_is_local.py b/src/maasserver/migrations/maasserver/0151_userprofile_is_local.py
2364index fecccd2..68f54b0 100644
2365--- a/src/maasserver/migrations/maasserver/0151_userprofile_is_local.py
2366+++ b/src/maasserver/migrations/maasserver/0151_userprofile_is_local.py
2367@@ -4,7 +4,6 @@ from django.db import migrations, models
2368
2369
2370 class Migration(migrations.Migration):
2371-
2372 dependencies = [("maasserver", "0150_add_pod_commit_ratios")]
2373
2374 operations = [
2375diff --git a/src/maasserver/migrations/maasserver/0152_add_usergroup_local.py b/src/maasserver/migrations/maasserver/0152_add_usergroup_local.py
2376index 7010805..7941145 100644
2377--- a/src/maasserver/migrations/maasserver/0152_add_usergroup_local.py
2378+++ b/src/maasserver/migrations/maasserver/0152_add_usergroup_local.py
2379@@ -4,7 +4,6 @@ from django.db import migrations, models
2380
2381
2382 class Migration(migrations.Migration):
2383-
2384 dependencies = [("maasserver", "0151_userprofile_is_local")]
2385
2386 operations = [
2387diff --git a/src/maasserver/migrations/maasserver/0153_add_skip_bmc_config.py b/src/maasserver/migrations/maasserver/0153_add_skip_bmc_config.py
2388index 4679740..0b352ad 100644
2389--- a/src/maasserver/migrations/maasserver/0153_add_skip_bmc_config.py
2390+++ b/src/maasserver/migrations/maasserver/0153_add_skip_bmc_config.py
2391@@ -4,7 +4,6 @@ from django.db import migrations, models
2392
2393
2394 class Migration(migrations.Migration):
2395-
2396 dependencies = [("maasserver", "0152_add_usergroup_local")]
2397
2398 operations = [
2399diff --git a/src/maasserver/migrations/maasserver/0154_link_usergroup_role.py b/src/maasserver/migrations/maasserver/0154_link_usergroup_role.py
2400index 7368507..128b77d 100644
2401--- a/src/maasserver/migrations/maasserver/0154_link_usergroup_role.py
2402+++ b/src/maasserver/migrations/maasserver/0154_link_usergroup_role.py
2403@@ -14,7 +14,6 @@ def forwards(apps, schema_editor):
2404
2405
2406 class Migration(migrations.Migration):
2407-
2408 dependencies = [("maasserver", "0153_add_skip_bmc_config")]
2409
2410 operations = [
2411diff --git a/src/maasserver/migrations/maasserver/0155_add_globaldefaults_model.py b/src/maasserver/migrations/maasserver/0155_add_globaldefaults_model.py
2412index 8901e80..7561e8c 100644
2413--- a/src/maasserver/migrations/maasserver/0155_add_globaldefaults_model.py
2414+++ b/src/maasserver/migrations/maasserver/0155_add_globaldefaults_model.py
2415@@ -9,7 +9,6 @@ import maasserver.models.node
2416
2417
2418 class Migration(migrations.Migration):
2419-
2420 dependencies = [("maasserver", "0154_link_usergroup_role")]
2421
2422 operations = [
2423diff --git a/src/maasserver/migrations/maasserver/0156_drop_ssh_unique_key_index.py b/src/maasserver/migrations/maasserver/0156_drop_ssh_unique_key_index.py
2424index db968ae..d3b876c 100644
2425--- a/src/maasserver/migrations/maasserver/0156_drop_ssh_unique_key_index.py
2426+++ b/src/maasserver/migrations/maasserver/0156_drop_ssh_unique_key_index.py
2427@@ -4,7 +4,6 @@ from django.db import migrations
2428
2429
2430 class Migration(migrations.Migration):
2431-
2432 dependencies = [("maasserver", "0155_add_globaldefaults_model")]
2433
2434 operations = [
2435diff --git a/src/maasserver/migrations/maasserver/0157_drop_usergroup_and_role.py b/src/maasserver/migrations/maasserver/0157_drop_usergroup_and_role.py
2436index 3977ad4..6f1eee4 100644
2437--- a/src/maasserver/migrations/maasserver/0157_drop_usergroup_and_role.py
2438+++ b/src/maasserver/migrations/maasserver/0157_drop_usergroup_and_role.py
2439@@ -4,7 +4,6 @@ from django.db import migrations
2440
2441
2442 class Migration(migrations.Migration):
2443-
2444 dependencies = [("maasserver", "0156_drop_ssh_unique_key_index")]
2445
2446 operations = [
2447diff --git a/src/maasserver/migrations/maasserver/0158_pod_default_pool_to_pod.py b/src/maasserver/migrations/maasserver/0158_pod_default_pool_to_pod.py
2448index 49d64d1..86fa281 100644
2449--- a/src/maasserver/migrations/maasserver/0158_pod_default_pool_to_pod.py
2450+++ b/src/maasserver/migrations/maasserver/0158_pod_default_pool_to_pod.py
2451@@ -4,7 +4,6 @@ from django.db import migrations
2452
2453
2454 class Migration(migrations.Migration):
2455-
2456 dependencies = [("maasserver", "0157_drop_usergroup_and_role")]
2457
2458 operations = [
2459diff --git a/src/maasserver/migrations/maasserver/0159_userprofile_auth_last_check_no_now_default.py b/src/maasserver/migrations/maasserver/0159_userprofile_auth_last_check_no_now_default.py
2460index db8a63a..7210443 100644
2461--- a/src/maasserver/migrations/maasserver/0159_userprofile_auth_last_check_no_now_default.py
2462+++ b/src/maasserver/migrations/maasserver/0159_userprofile_auth_last_check_no_now_default.py
2463@@ -4,7 +4,6 @@ from django.db import migrations, models
2464
2465
2466 class Migration(migrations.Migration):
2467-
2468 dependencies = [("maasserver", "0158_pod_default_pool_to_pod")]
2469
2470 operations = [
2471diff --git a/src/maasserver/migrations/maasserver/0160_pool_only_for_machines.py b/src/maasserver/migrations/maasserver/0160_pool_only_for_machines.py
2472index ad856eb..ce99828 100644
2473--- a/src/maasserver/migrations/maasserver/0160_pool_only_for_machines.py
2474+++ b/src/maasserver/migrations/maasserver/0160_pool_only_for_machines.py
2475@@ -12,7 +12,6 @@ def unset_resource_pools_nodes_not_machines(apps, schema_editor):
2476
2477
2478 class Migration(migrations.Migration):
2479-
2480 dependencies = [
2481 ("maasserver", "0159_userprofile_auth_last_check_no_now_default")
2482 ]
2483diff --git a/src/maasserver/migrations/maasserver/0161_pod_storage_pools.py b/src/maasserver/migrations/maasserver/0161_pod_storage_pools.py
2484index 281f698..86759cb 100644
2485--- a/src/maasserver/migrations/maasserver/0161_pod_storage_pools.py
2486+++ b/src/maasserver/migrations/maasserver/0161_pod_storage_pools.py
2487@@ -7,7 +7,6 @@ import maasserver.models.cleansave
2488
2489
2490 class Migration(migrations.Migration):
2491-
2492 dependencies = [("maasserver", "0160_pool_only_for_machines")]
2493
2494 operations = [
2495diff --git a/src/maasserver/migrations/maasserver/0162_storage_pools_notification.py b/src/maasserver/migrations/maasserver/0162_storage_pools_notification.py
2496index 8eb06cd..ec2edbc 100644
2497--- a/src/maasserver/migrations/maasserver/0162_storage_pools_notification.py
2498+++ b/src/maasserver/migrations/maasserver/0162_storage_pools_notification.py
2499@@ -29,7 +29,6 @@ def backwards(apps, schema_editor):
2500
2501
2502 class Migration(migrations.Migration):
2503-
2504 dependencies = [("maasserver", "0161_pod_storage_pools")]
2505
2506 operations = [migrations.RunPython(forwards, backwards)]
2507diff --git a/src/maasserver/migrations/maasserver/0163_create_new_power_parameters_with_jsonfield.py b/src/maasserver/migrations/maasserver/0163_create_new_power_parameters_with_jsonfield.py
2508index 7e325be..384932d 100644
2509--- a/src/maasserver/migrations/maasserver/0163_create_new_power_parameters_with_jsonfield.py
2510+++ b/src/maasserver/migrations/maasserver/0163_create_new_power_parameters_with_jsonfield.py
2511@@ -5,7 +5,6 @@ from django.db import migrations
2512
2513
2514 class Migration(migrations.Migration):
2515-
2516 dependencies = [("maasserver", "0162_storage_pools_notification")]
2517
2518 operations = [
2519diff --git a/src/maasserver/migrations/maasserver/0164_copy_over_existing_power_parameters.py b/src/maasserver/migrations/maasserver/0164_copy_over_existing_power_parameters.py
2520index 4e8a818..5a18412 100644
2521--- a/src/maasserver/migrations/maasserver/0164_copy_over_existing_power_parameters.py
2522+++ b/src/maasserver/migrations/maasserver/0164_copy_over_existing_power_parameters.py
2523@@ -15,7 +15,6 @@ def copy_existing_power_parameters(apps, schema_editor):
2524
2525
2526 class Migration(migrations.Migration):
2527-
2528 dependencies = [
2529 ("maasserver", "0163_create_new_power_parameters_with_jsonfield")
2530 ]
2531diff --git a/src/maasserver/migrations/maasserver/0165_remove_and_rename_power_parameters.py b/src/maasserver/migrations/maasserver/0165_remove_and_rename_power_parameters.py
2532index 8ad6474..ad1f7c4 100644
2533--- a/src/maasserver/migrations/maasserver/0165_remove_and_rename_power_parameters.py
2534+++ b/src/maasserver/migrations/maasserver/0165_remove_and_rename_power_parameters.py
2535@@ -4,7 +4,6 @@ from django.db import migrations
2536
2537
2538 class Migration(migrations.Migration):
2539-
2540 dependencies = [("maasserver", "0164_copy_over_existing_power_parameters")]
2541
2542 operations = [
2543diff --git a/src/maasserver/migrations/maasserver/0166_auto_select_s390x_extra_arches.py b/src/maasserver/migrations/maasserver/0166_auto_select_s390x_extra_arches.py
2544index 4fac8a5..cbbbafd 100644
2545--- a/src/maasserver/migrations/maasserver/0166_auto_select_s390x_extra_arches.py
2546+++ b/src/maasserver/migrations/maasserver/0166_auto_select_s390x_extra_arches.py
2547@@ -14,7 +14,6 @@ def add_s390x_to_pkg_repository_to_arches(apps, schema_editor):
2548
2549
2550 class Migration(migrations.Migration):
2551-
2552 dependencies = [("maasserver", "0165_remove_and_rename_power_parameters")]
2553
2554 operations = [migrations.RunPython(add_s390x_to_pkg_repository_to_arches)]
2555diff --git a/src/maasserver/migrations/maasserver/0167_add_pod_host.py b/src/maasserver/migrations/maasserver/0167_add_pod_host.py
2556index 79e46a0..f1fc91f 100644
2557--- a/src/maasserver/migrations/maasserver/0167_add_pod_host.py
2558+++ b/src/maasserver/migrations/maasserver/0167_add_pod_host.py
2559@@ -5,7 +5,6 @@ import django.db.models.deletion
2560
2561
2562 class Migration(migrations.Migration):
2563-
2564 dependencies = [("maasserver", "0166_auto_select_s390x_extra_arches")]
2565
2566 operations = [
2567diff --git a/src/maasserver/migrations/maasserver/0168_add_pod_default_macvlan_mode.py b/src/maasserver/migrations/maasserver/0168_add_pod_default_macvlan_mode.py
2568index b480a52..2c6d9db 100644
2569--- a/src/maasserver/migrations/maasserver/0168_add_pod_default_macvlan_mode.py
2570+++ b/src/maasserver/migrations/maasserver/0168_add_pod_default_macvlan_mode.py
2571@@ -4,7 +4,6 @@ from django.db import migrations, models
2572
2573
2574 class Migration(migrations.Migration):
2575-
2576 dependencies = [("maasserver", "0167_add_pod_host")]
2577
2578 operations = [
2579diff --git a/src/maasserver/migrations/maasserver/0169_find_pod_host.py b/src/maasserver/migrations/maasserver/0169_find_pod_host.py
2580index eb74d2b..dc0239d 100644
2581--- a/src/maasserver/migrations/maasserver/0169_find_pod_host.py
2582+++ b/src/maasserver/migrations/maasserver/0169_find_pod_host.py
2583@@ -4,7 +4,6 @@ from django.db import migrations
2584
2585
2586 class Migration(migrations.Migration):
2587-
2588 dependencies = [("maasserver", "0168_add_pod_default_macvlan_mode")]
2589
2590 operations = []
2591diff --git a/src/maasserver/migrations/maasserver/0170_add_subnet_allow_dns.py b/src/maasserver/migrations/maasserver/0170_add_subnet_allow_dns.py
2592index 5ffb757..a65330a 100644
2593--- a/src/maasserver/migrations/maasserver/0170_add_subnet_allow_dns.py
2594+++ b/src/maasserver/migrations/maasserver/0170_add_subnet_allow_dns.py
2595@@ -4,7 +4,6 @@ from django.db import migrations, models
2596
2597
2598 class Migration(migrations.Migration):
2599-
2600 dependencies = [("maasserver", "0169_find_pod_host")]
2601
2602 operations = [
2603diff --git a/src/maasserver/migrations/maasserver/0171_remove_pod_host.py b/src/maasserver/migrations/maasserver/0171_remove_pod_host.py
2604index cf0c9d0..a92cdee 100644
2605--- a/src/maasserver/migrations/maasserver/0171_remove_pod_host.py
2606+++ b/src/maasserver/migrations/maasserver/0171_remove_pod_host.py
2607@@ -4,7 +4,6 @@ from django.db import migrations
2608
2609
2610 class Migration(migrations.Migration):
2611-
2612 dependencies = [("maasserver", "0170_add_subnet_allow_dns")]
2613
2614 operations = [migrations.RemoveField(model_name="bmc", name="host")]
2615diff --git a/src/maasserver/migrations/maasserver/0172_partition_tags.py b/src/maasserver/migrations/maasserver/0172_partition_tags.py
2616index bec5046..1e5fa58 100644
2617--- a/src/maasserver/migrations/maasserver/0172_partition_tags.py
2618+++ b/src/maasserver/migrations/maasserver/0172_partition_tags.py
2619@@ -5,7 +5,6 @@ from django.db import migrations, models
2620
2621
2622 class Migration(migrations.Migration):
2623-
2624 dependencies = [("maasserver", "0171_remove_pod_host")]
2625
2626 operations = [
2627diff --git a/src/maasserver/migrations/maasserver/0173_add_node_install_kvm.py b/src/maasserver/migrations/maasserver/0173_add_node_install_kvm.py
2628index 0bf737d..8ed09b9 100644
2629--- a/src/maasserver/migrations/maasserver/0173_add_node_install_kvm.py
2630+++ b/src/maasserver/migrations/maasserver/0173_add_node_install_kvm.py
2631@@ -4,7 +4,6 @@ from django.db import migrations, models
2632
2633
2634 class Migration(migrations.Migration):
2635-
2636 dependencies = [("maasserver", "0172_partition_tags")]
2637
2638 operations = [
2639diff --git a/src/maasserver/migrations/maasserver/0174_add_user_id_and_node_system_id_for_events.py b/src/maasserver/migrations/maasserver/0174_add_user_id_and_node_system_id_for_events.py
2640index b8a16a6..c0d26a0 100644
2641--- a/src/maasserver/migrations/maasserver/0174_add_user_id_and_node_system_id_for_events.py
2642+++ b/src/maasserver/migrations/maasserver/0174_add_user_id_and_node_system_id_for_events.py
2643@@ -4,7 +4,6 @@ from django.db import migrations, models
2644
2645
2646 class Migration(migrations.Migration):
2647-
2648 dependencies = [("maasserver", "0173_add_node_install_kvm")]
2649
2650 operations = [
2651diff --git a/src/maasserver/migrations/maasserver/0175_copy_user_id_and_node_system_id_for_events.py b/src/maasserver/migrations/maasserver/0175_copy_user_id_and_node_system_id_for_events.py
2652index 54fbf50..541d2d7 100644
2653--- a/src/maasserver/migrations/maasserver/0175_copy_user_id_and_node_system_id_for_events.py
2654+++ b/src/maasserver/migrations/maasserver/0175_copy_user_id_and_node_system_id_for_events.py
2655@@ -97,7 +97,6 @@ def copy_over_user_id_and_node_system_id(apps, schema_editor):
2656
2657
2658 class Migration(migrations.Migration):
2659-
2660 dependencies = [
2661 ("maasserver", "0174_add_user_id_and_node_system_id_for_events")
2662 ]
2663diff --git a/src/maasserver/migrations/maasserver/0176_rename_user_id_migrate_to_user_id_for_events.py b/src/maasserver/migrations/maasserver/0176_rename_user_id_migrate_to_user_id_for_events.py
2664index 78a5881..c4630f7 100644
2665--- a/src/maasserver/migrations/maasserver/0176_rename_user_id_migrate_to_user_id_for_events.py
2666+++ b/src/maasserver/migrations/maasserver/0176_rename_user_id_migrate_to_user_id_for_events.py
2667@@ -4,7 +4,6 @@ from django.db import migrations
2668
2669
2670 class Migration(migrations.Migration):
2671-
2672 dependencies = [
2673 ("maasserver", "0175_copy_user_id_and_node_system_id_for_events")
2674 ]
2675diff --git a/src/maasserver/migrations/maasserver/0177_remove_unique_together_on_bmc.py b/src/maasserver/migrations/maasserver/0177_remove_unique_together_on_bmc.py
2676index 35e5bb8..e09f8d2 100644
2677--- a/src/maasserver/migrations/maasserver/0177_remove_unique_together_on_bmc.py
2678+++ b/src/maasserver/migrations/maasserver/0177_remove_unique_together_on_bmc.py
2679@@ -32,7 +32,6 @@ class AlterUniqueTogetherNoDB(migrations.AlterUniqueTogether):
2680
2681
2682 class Migration(migrations.Migration):
2683-
2684 dependencies = [
2685 ("maasserver", "0176_rename_user_id_migrate_to_user_id_for_events")
2686 ]
2687diff --git a/src/maasserver/migrations/maasserver/0178_break_apart_linked_bmcs.py b/src/maasserver/migrations/maasserver/0178_break_apart_linked_bmcs.py
2688index b56bada..0a3e187 100644
2689--- a/src/maasserver/migrations/maasserver/0178_break_apart_linked_bmcs.py
2690+++ b/src/maasserver/migrations/maasserver/0178_break_apart_linked_bmcs.py
2691@@ -41,7 +41,6 @@ def break_apart_linked_bmcs(apps, schema_editor):
2692
2693
2694 class Migration(migrations.Migration):
2695-
2696 dependencies = [("maasserver", "0177_remove_unique_together_on_bmc")]
2697
2698 operations = [migrations.RunPython(break_apart_linked_bmcs)]
2699diff --git a/src/maasserver/migrations/maasserver/0179_rbacsync.py b/src/maasserver/migrations/maasserver/0179_rbacsync.py
2700index e024aca..45da9b2 100644
2701--- a/src/maasserver/migrations/maasserver/0179_rbacsync.py
2702+++ b/src/maasserver/migrations/maasserver/0179_rbacsync.py
2703@@ -4,7 +4,6 @@ from django.db import migrations, models
2704
2705
2706 class Migration(migrations.Migration):
2707-
2708 dependencies = [("maasserver", "0178_break_apart_linked_bmcs")]
2709
2710 operations = [
2711diff --git a/src/maasserver/migrations/maasserver/0180_rbaclastsync.py b/src/maasserver/migrations/maasserver/0180_rbaclastsync.py
2712index c21bf0c..c3cf97e 100644
2713--- a/src/maasserver/migrations/maasserver/0180_rbaclastsync.py
2714+++ b/src/maasserver/migrations/maasserver/0180_rbaclastsync.py
2715@@ -4,7 +4,6 @@ from django.db import migrations, models
2716
2717
2718 class Migration(migrations.Migration):
2719-
2720 dependencies = [("maasserver", "0179_rbacsync")]
2721
2722 operations = [
2723diff --git a/src/maasserver/migrations/maasserver/0181_packagerepository_disable_sources.py b/src/maasserver/migrations/maasserver/0181_packagerepository_disable_sources.py
2724index 471f8cb..8131603 100644
2725--- a/src/maasserver/migrations/maasserver/0181_packagerepository_disable_sources.py
2726+++ b/src/maasserver/migrations/maasserver/0181_packagerepository_disable_sources.py
2727@@ -4,7 +4,6 @@ from django.db import migrations, models
2728
2729
2730 class Migration(migrations.Migration):
2731-
2732 dependencies = [("maasserver", "0180_rbaclastsync")]
2733
2734 operations = [
2735diff --git a/src/maasserver/migrations/maasserver/0182_remove_duplicate_null_ips.py b/src/maasserver/migrations/maasserver/0182_remove_duplicate_null_ips.py
2736index 80ce0f8..83c99b7 100644
2737--- a/src/maasserver/migrations/maasserver/0182_remove_duplicate_null_ips.py
2738+++ b/src/maasserver/migrations/maasserver/0182_remove_duplicate_null_ips.py
2739@@ -70,7 +70,6 @@ REMOVE_NULL_IPS_MAX = REMOVE_NULL_IPS_TEMPLATE.format("max")
2740
2741
2742 class Migration(migrations.Migration):
2743-
2744 dependencies = [("maasserver", "0181_packagerepository_disable_sources")]
2745
2746 # We run the query first using max() and then min(). The reason for
2747diff --git a/src/maasserver/migrations/maasserver/0183_node_uuid.py b/src/maasserver/migrations/maasserver/0183_node_uuid.py
2748index 43695fa..7282a1e 100644
2749--- a/src/maasserver/migrations/maasserver/0183_node_uuid.py
2750+++ b/src/maasserver/migrations/maasserver/0183_node_uuid.py
2751@@ -4,7 +4,6 @@ from django.db import migrations, models
2752
2753
2754 class Migration(migrations.Migration):
2755-
2756 dependencies = [("maasserver", "0182_remove_duplicate_null_ips")]
2757
2758 operations = [
2759diff --git a/src/maasserver/migrations/maasserver/0184_add_ephemeral_deploy_setting_to_node.py b/src/maasserver/migrations/maasserver/0184_add_ephemeral_deploy_setting_to_node.py
2760index 47eda5c..c7e91d0 100644
2761--- a/src/maasserver/migrations/maasserver/0184_add_ephemeral_deploy_setting_to_node.py
2762+++ b/src/maasserver/migrations/maasserver/0184_add_ephemeral_deploy_setting_to_node.py
2763@@ -4,7 +4,6 @@ from django.db import migrations, models
2764
2765
2766 class Migration(migrations.Migration):
2767-
2768 dependencies = [("maasserver", "0183_node_uuid")]
2769
2770 operations = [
2771diff --git a/src/maasserver/migrations/maasserver/0185_vmfs6.py b/src/maasserver/migrations/maasserver/0185_vmfs6.py
2772index a66265c..e93bf83 100644
2773--- a/src/maasserver/migrations/maasserver/0185_vmfs6.py
2774+++ b/src/maasserver/migrations/maasserver/0185_vmfs6.py
2775@@ -4,7 +4,6 @@ from django.db import migrations, models
2776
2777
2778 class Migration(migrations.Migration):
2779-
2780 dependencies = [
2781 ("maasserver", "0184_add_ephemeral_deploy_setting_to_node")
2782 ]
2783diff --git a/src/maasserver/migrations/maasserver/0186_node_description.py b/src/maasserver/migrations/maasserver/0186_node_description.py
2784index 82d2100..ce78c92 100644
2785--- a/src/maasserver/migrations/maasserver/0186_node_description.py
2786+++ b/src/maasserver/migrations/maasserver/0186_node_description.py
2787@@ -4,7 +4,6 @@ from django.db import migrations, models
2788
2789
2790 class Migration(migrations.Migration):
2791-
2792 dependencies = [("maasserver", "0185_vmfs6")]
2793
2794 operations = [
2795diff --git a/src/maasserver/migrations/maasserver/0187_status_messages_change_event_logging_levels.py b/src/maasserver/migrations/maasserver/0187_status_messages_change_event_logging_levels.py
2796index 9c58212..e0bba51 100644
2797--- a/src/maasserver/migrations/maasserver/0187_status_messages_change_event_logging_levels.py
2798+++ b/src/maasserver/migrations/maasserver/0187_status_messages_change_event_logging_levels.py
2799@@ -48,7 +48,6 @@ def change_event_levels_from_info_to_debug(apps, schema_editor):
2800
2801
2802 class Migration(migrations.Migration):
2803-
2804 dependencies = [("maasserver", "0186_node_description")]
2805
2806 operations = [migrations.RunPython(change_event_levels_from_info_to_debug)]
2807diff --git a/src/maasserver/migrations/maasserver/0188_network_testing.py b/src/maasserver/migrations/maasserver/0188_network_testing.py
2808index 7dad000..601f9df 100644
2809--- a/src/maasserver/migrations/maasserver/0188_network_testing.py
2810+++ b/src/maasserver/migrations/maasserver/0188_network_testing.py
2811@@ -4,7 +4,6 @@ from django.db import migrations, models
2812
2813
2814 class Migration(migrations.Migration):
2815-
2816 dependencies = [
2817 ("maasserver", "0187_status_messages_change_event_logging_levels")
2818 ]
2819diff --git a/src/maasserver/migrations/maasserver/0189_staticipaddress_temp_expires_on.py b/src/maasserver/migrations/maasserver/0189_staticipaddress_temp_expires_on.py
2820index 913cfdf..1f01f6b 100644
2821--- a/src/maasserver/migrations/maasserver/0189_staticipaddress_temp_expires_on.py
2822+++ b/src/maasserver/migrations/maasserver/0189_staticipaddress_temp_expires_on.py
2823@@ -4,7 +4,6 @@ from django.db import migrations, models
2824
2825
2826 class Migration(migrations.Migration):
2827-
2828 dependencies = [("maasserver", "0188_network_testing")]
2829
2830 operations = [
2831diff --git a/src/maasserver/migrations/maasserver/0190_bmc_clean_duplicates.py b/src/maasserver/migrations/maasserver/0190_bmc_clean_duplicates.py
2832index e5c3733..fb66e2c 100644
2833--- a/src/maasserver/migrations/maasserver/0190_bmc_clean_duplicates.py
2834+++ b/src/maasserver/migrations/maasserver/0190_bmc_clean_duplicates.py
2835@@ -52,7 +52,6 @@ def clean_bmcs(apps, schema_editor):
2836
2837
2838 class Migration(migrations.Migration):
2839-
2840 dependencies = [("maasserver", "0189_staticipaddress_temp_expires_on")]
2841
2842 operations = [migrations.RunPython(clean_bmcs)]
2843diff --git a/src/maasserver/migrations/maasserver/0191_bmc_unique_power_type_and_parameters.py b/src/maasserver/migrations/maasserver/0191_bmc_unique_power_type_and_parameters.py
2844index acd7a6c..a4b2d4b 100644
2845--- a/src/maasserver/migrations/maasserver/0191_bmc_unique_power_type_and_parameters.py
2846+++ b/src/maasserver/migrations/maasserver/0191_bmc_unique_power_type_and_parameters.py
2847@@ -4,7 +4,6 @@ from django.db import migrations
2848
2849
2850 class Migration(migrations.Migration):
2851-
2852 dependencies = [("maasserver", "0190_bmc_clean_duplicates")]
2853
2854 operations = [
2855diff --git a/src/maasserver/migrations/maasserver/0192_event_node_no_set_null.py b/src/maasserver/migrations/maasserver/0192_event_node_no_set_null.py
2856index 0ec457c..c4a4bd5 100644
2857--- a/src/maasserver/migrations/maasserver/0192_event_node_no_set_null.py
2858+++ b/src/maasserver/migrations/maasserver/0192_event_node_no_set_null.py
2859@@ -5,7 +5,6 @@ import django.db.models.deletion
2860
2861
2862 class Migration(migrations.Migration):
2863-
2864 dependencies = [
2865 # depend on the latest patch in the 2.6 branch as this is meant to be
2866 # backported there.
2867diff --git a/src/maasserver/migrations/maasserver/0193_merge_maasserver_0191_1092.py b/src/maasserver/migrations/maasserver/0193_merge_maasserver_0191_1092.py
2868index 98e5366..e9699cc 100644
2869--- a/src/maasserver/migrations/maasserver/0193_merge_maasserver_0191_1092.py
2870+++ b/src/maasserver/migrations/maasserver/0193_merge_maasserver_0191_1092.py
2871@@ -4,7 +4,6 @@ from django.db import migrations
2872
2873
2874 class Migration(migrations.Migration):
2875-
2876 dependencies = [
2877 ("maasserver", "0192_event_node_no_set_null"),
2878 ("maasserver", "0191_bmc_unique_power_type_and_parameters"),
2879diff --git a/src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py b/src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py
2880index 8464c9d..e1b67a0 100644
2881--- a/src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py
2882+++ b/src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py
2883@@ -4,7 +4,6 @@ from django.db import migrations, models
2884
2885
2886 class Migration(migrations.Migration):
2887-
2888 # This depends on the latest (at time of writing) patch in 2.6,
2889 # since this patch is to be backported there.
2890 dependencies = [("maasserver", "0192_event_node_no_set_null")]
2891diff --git a/src/maasserver/migrations/maasserver/0195_event_username_max_length.py b/src/maasserver/migrations/maasserver/0195_event_username_max_length.py
2892index 9b5c6d3..7084561 100644
2893--- a/src/maasserver/migrations/maasserver/0195_event_username_max_length.py
2894+++ b/src/maasserver/migrations/maasserver/0195_event_username_max_length.py
2895@@ -5,7 +5,6 @@ import django.db.models.deletion
2896
2897
2898 class Migration(migrations.Migration):
2899-
2900 dependencies = [("maasserver", "0194_machine_listing_event_index")]
2901
2902 operations = [
2903diff --git a/src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py b/src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py
2904index 80a6ae4..2349625 100644
2905--- a/src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py
2906+++ b/src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py
2907@@ -4,7 +4,6 @@ from django.db import migrations
2908
2909
2910 class Migration(migrations.Migration):
2911-
2912 dependencies = [
2913 ("maasserver", "0193_merge_maasserver_0191_1092"),
2914 ("maasserver", "0194_machine_listing_event_index"),
2915diff --git a/src/maasserver/migrations/maasserver/0196_numa_model.py b/src/maasserver/migrations/maasserver/0196_numa_model.py
2916index 971f5ca..1132599 100644
2917--- a/src/maasserver/migrations/maasserver/0196_numa_model.py
2918+++ b/src/maasserver/migrations/maasserver/0196_numa_model.py
2919@@ -36,7 +36,6 @@ def create_and_link_numa_nodes(apps, schema_editor):
2920
2921
2922 class Migration(migrations.Migration):
2923-
2924 dependencies = [("maasserver", "0195_merge_20190902_1357")]
2925
2926 operations = [
2927diff --git a/src/maasserver/migrations/maasserver/0197_remove_duplicate_physical_interfaces.py b/src/maasserver/migrations/maasserver/0197_remove_duplicate_physical_interfaces.py
2928index 7d10622..e2d709b 100644
2929--- a/src/maasserver/migrations/maasserver/0197_remove_duplicate_physical_interfaces.py
2930+++ b/src/maasserver/migrations/maasserver/0197_remove_duplicate_physical_interfaces.py
2931@@ -45,7 +45,6 @@ def remove_duplicate_physical_interfaces(apps, schema_editor):
2932
2933
2934 class Migration(migrations.Migration):
2935-
2936 dependencies = [("maasserver", "0196_numa_model")]
2937
2938 operations = [migrations.RunPython(remove_duplicate_physical_interfaces)]
2939diff --git a/src/maasserver/migrations/maasserver/0198_interface_physical_unique_mac.py b/src/maasserver/migrations/maasserver/0198_interface_physical_unique_mac.py
2940index 14c740f..4e65b3d 100644
2941--- a/src/maasserver/migrations/maasserver/0198_interface_physical_unique_mac.py
2942+++ b/src/maasserver/migrations/maasserver/0198_interface_physical_unique_mac.py
2943@@ -4,7 +4,6 @@ from django.db import migrations
2944
2945
2946 class Migration(migrations.Migration):
2947-
2948 dependencies = [
2949 ("maasserver", "0197_remove_duplicate_physical_interfaces")
2950 ]
2951diff --git a/src/maasserver/migrations/maasserver/0199_bootresource_tbz_txz.py b/src/maasserver/migrations/maasserver/0199_bootresource_tbz_txz.py
2952index 1ba26cd..3d8341b 100644
2953--- a/src/maasserver/migrations/maasserver/0199_bootresource_tbz_txz.py
2954+++ b/src/maasserver/migrations/maasserver/0199_bootresource_tbz_txz.py
2955@@ -4,7 +4,6 @@ from django.db import migrations, models
2956
2957
2958 class Migration(migrations.Migration):
2959-
2960 dependencies = [("maasserver", "0198_interface_physical_unique_mac")]
2961
2962 operations = [
2963diff --git a/src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py b/src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py
2964index 0c08d43..64cb504 100644
2965--- a/src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py
2966+++ b/src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py
2967@@ -4,7 +4,6 @@ from django.db import migrations, models
2968
2969
2970 class Migration(migrations.Migration):
2971-
2972 dependencies = [("maasserver", "0199_bootresource_tbz_txz")]
2973
2974 operations = [
2975diff --git a/src/maasserver/migrations/maasserver/0201_merge_20191008_1426.py b/src/maasserver/migrations/maasserver/0201_merge_20191008_1426.py
2976index edc1f96..7b3f23a 100644
2977--- a/src/maasserver/migrations/maasserver/0201_merge_20191008_1426.py
2978+++ b/src/maasserver/migrations/maasserver/0201_merge_20191008_1426.py
2979@@ -4,7 +4,6 @@ from django.db import migrations
2980
2981
2982 class Migration(migrations.Migration):
2983-
2984 dependencies = [
2985 ("maasserver", "0200_interface_sriov_max_vf"),
2986 ("maasserver", "0195_event_username_max_length"),
2987diff --git a/src/maasserver/migrations/maasserver/0202_event_node_on_delete.py b/src/maasserver/migrations/maasserver/0202_event_node_on_delete.py
2988index 4184944..f1f7e26 100644
2989--- a/src/maasserver/migrations/maasserver/0202_event_node_on_delete.py
2990+++ b/src/maasserver/migrations/maasserver/0202_event_node_on_delete.py
2991@@ -5,7 +5,6 @@ import django.db.models.deletion
2992
2993
2994 class Migration(migrations.Migration):
2995-
2996 dependencies = [("maasserver", "0201_merge_20191008_1426")]
2997
2998 operations = [
2999diff --git a/src/maasserver/migrations/maasserver/0203_interface_node_name_duplicates_delete.py b/src/maasserver/migrations/maasserver/0203_interface_node_name_duplicates_delete.py
3000index ba43b83..278d8cb 100644
3001--- a/src/maasserver/migrations/maasserver/0203_interface_node_name_duplicates_delete.py
3002+++ b/src/maasserver/migrations/maasserver/0203_interface_node_name_duplicates_delete.py
3003@@ -53,7 +53,6 @@ def delete_duplicate_interfaces(apps, schema_editor):
3004
3005
3006 class Migration(migrations.Migration):
3007-
3008 dependencies = [("maasserver", "0202_event_node_on_delete")]
3009
3010 operations = [migrations.RunPython(delete_duplicate_interfaces)]
3011diff --git a/src/maasserver/migrations/maasserver/0204_interface_node_name_unique_together.py b/src/maasserver/migrations/maasserver/0204_interface_node_name_unique_together.py
3012index 290590c..3dc8467 100644
3013--- a/src/maasserver/migrations/maasserver/0204_interface_node_name_unique_together.py
3014+++ b/src/maasserver/migrations/maasserver/0204_interface_node_name_unique_together.py
3015@@ -4,7 +4,6 @@ from django.db import migrations
3016
3017
3018 class Migration(migrations.Migration):
3019-
3020 dependencies = [
3021 ("maasserver", "0203_interface_node_name_duplicates_delete")
3022 ]
3023diff --git a/src/maasserver/migrations/maasserver/0205_pod_nodes.py b/src/maasserver/migrations/maasserver/0205_pod_nodes.py
3024index 1cc6be7..394008b 100644
3025--- a/src/maasserver/migrations/maasserver/0205_pod_nodes.py
3026+++ b/src/maasserver/migrations/maasserver/0205_pod_nodes.py
3027@@ -4,7 +4,6 @@ from django.db import migrations, models
3028
3029
3030 class Migration(migrations.Migration):
3031-
3032 dependencies = [("maasserver", "0204_interface_node_name_unique_together")]
3033
3034 operations = [
3035diff --git a/src/maasserver/migrations/maasserver/0206_remove_node_token.py b/src/maasserver/migrations/maasserver/0206_remove_node_token.py
3036index ece2959..bc6614c 100644
3037--- a/src/maasserver/migrations/maasserver/0206_remove_node_token.py
3038+++ b/src/maasserver/migrations/maasserver/0206_remove_node_token.py
3039@@ -4,7 +4,6 @@ from django.db import migrations
3040
3041
3042 class Migration(migrations.Migration):
3043-
3044 dependencies = [("maasserver", "0205_pod_nodes")]
3045
3046 operations = [migrations.RemoveField(model_name="node", name="token")]
3047diff --git a/src/maasserver/migrations/maasserver/0207_notification_dismissable.py b/src/maasserver/migrations/maasserver/0207_notification_dismissable.py
3048index 55475e9..a55c15b 100644
3049--- a/src/maasserver/migrations/maasserver/0207_notification_dismissable.py
3050+++ b/src/maasserver/migrations/maasserver/0207_notification_dismissable.py
3051@@ -4,7 +4,6 @@ from django.db import migrations, models
3052
3053
3054 class Migration(migrations.Migration):
3055-
3056 dependencies = [("maasserver", "0206_remove_node_token")]
3057
3058 operations = [
3059diff --git a/src/maasserver/migrations/maasserver/0208_no_power_query_events.py b/src/maasserver/migrations/maasserver/0208_no_power_query_events.py
3060index 300f71a..3292892 100644
3061--- a/src/maasserver/migrations/maasserver/0208_no_power_query_events.py
3062+++ b/src/maasserver/migrations/maasserver/0208_no_power_query_events.py
3063@@ -17,7 +17,6 @@ def delete_power_query_events(apps, schema_editor):
3064
3065
3066 class Migration(migrations.Migration):
3067-
3068 dependencies = [("maasserver", "0207_notification_dismissable")]
3069
3070 operations = [migrations.RunPython(delete_power_query_events)]
3071diff --git a/src/maasserver/migrations/maasserver/0209_default_partitiontable_gpt.py b/src/maasserver/migrations/maasserver/0209_default_partitiontable_gpt.py
3072index 8a27d0e..d9b993a 100644
3073--- a/src/maasserver/migrations/maasserver/0209_default_partitiontable_gpt.py
3074+++ b/src/maasserver/migrations/maasserver/0209_default_partitiontable_gpt.py
3075@@ -4,7 +4,6 @@ from django.db import migrations, models
3076
3077
3078 class Migration(migrations.Migration):
3079-
3080 dependencies = [("maasserver", "0208_no_power_query_events")]
3081
3082 operations = [
3083diff --git a/src/maasserver/migrations/maasserver/0210_filepathfield_to_charfield.py b/src/maasserver/migrations/maasserver/0210_filepathfield_to_charfield.py
3084index 3924f41..acdf28d 100644
3085--- a/src/maasserver/migrations/maasserver/0210_filepathfield_to_charfield.py
3086+++ b/src/maasserver/migrations/maasserver/0210_filepathfield_to_charfield.py
3087@@ -4,7 +4,6 @@ from django.db import migrations, models
3088
3089
3090 class Migration(migrations.Migration):
3091-
3092 dependencies = [("maasserver", "0209_default_partitiontable_gpt")]
3093
3094 operations = [
3095diff --git a/src/maasserver/migrations/maasserver/0211_jsonfield_default_callable.py b/src/maasserver/migrations/maasserver/0211_jsonfield_default_callable.py
3096index c326467..7ffcecb 100644
3097--- a/src/maasserver/migrations/maasserver/0211_jsonfield_default_callable.py
3098+++ b/src/maasserver/migrations/maasserver/0211_jsonfield_default_callable.py
3099@@ -5,7 +5,6 @@ from django.db import migrations
3100
3101
3102 class Migration(migrations.Migration):
3103-
3104 dependencies = [("maasserver", "0210_filepathfield_to_charfield")]
3105
3106 operations = [
3107diff --git a/src/maasserver/migrations/maasserver/0212_notifications_fields.py b/src/maasserver/migrations/maasserver/0212_notifications_fields.py
3108index 7cfd53b..65e4c4d 100644
3109--- a/src/maasserver/migrations/maasserver/0212_notifications_fields.py
3110+++ b/src/maasserver/migrations/maasserver/0212_notifications_fields.py
3111@@ -4,7 +4,6 @@ from django.db import migrations, models
3112
3113
3114 class Migration(migrations.Migration):
3115-
3116 dependencies = [("maasserver", "0211_jsonfield_default_callable")]
3117
3118 operations = [
3119diff --git a/src/maasserver/migrations/maasserver/0213_virtual_machine.py b/src/maasserver/migrations/maasserver/0213_virtual_machine.py
3120index 69d126e..68eb1fd 100644
3121--- a/src/maasserver/migrations/maasserver/0213_virtual_machine.py
3122+++ b/src/maasserver/migrations/maasserver/0213_virtual_machine.py
3123@@ -35,7 +35,6 @@ def create_virtual_machines(apps, schema_editor):
3124
3125
3126 class Migration(migrations.Migration):
3127-
3128 dependencies = [("maasserver", "0212_notifications_fields")]
3129
3130 operations = [
3131diff --git a/src/maasserver/migrations/maasserver/0214_virtualmachine_one_to_one.py b/src/maasserver/migrations/maasserver/0214_virtualmachine_one_to_one.py
3132index f2dcaf7..ea127c9 100644
3133--- a/src/maasserver/migrations/maasserver/0214_virtualmachine_one_to_one.py
3134+++ b/src/maasserver/migrations/maasserver/0214_virtualmachine_one_to_one.py
3135@@ -5,7 +5,6 @@ import django.db.models.deletion
3136
3137
3138 class Migration(migrations.Migration):
3139-
3140 dependencies = [
3141 ("maasserver", "0213_virtual_machine"),
3142 ]
3143diff --git a/src/maasserver/migrations/maasserver/0215_numanode_hugepages.py b/src/maasserver/migrations/maasserver/0215_numanode_hugepages.py
3144index 76ff1a4..ec5c6ad 100644
3145--- a/src/maasserver/migrations/maasserver/0215_numanode_hugepages.py
3146+++ b/src/maasserver/migrations/maasserver/0215_numanode_hugepages.py
3147@@ -7,7 +7,6 @@ import maasserver.models.cleansave
3148
3149
3150 class Migration(migrations.Migration):
3151-
3152 dependencies = [
3153 ("maasserver", "0214_virtualmachine_one_to_one"),
3154 ]
3155diff --git a/src/maasserver/migrations/maasserver/0216_remove_skip_bmc_config_column.py b/src/maasserver/migrations/maasserver/0216_remove_skip_bmc_config_column.py
3156index 57b3baa..0536c72 100644
3157--- a/src/maasserver/migrations/maasserver/0216_remove_skip_bmc_config_column.py
3158+++ b/src/maasserver/migrations/maasserver/0216_remove_skip_bmc_config_column.py
3159@@ -4,7 +4,6 @@ from django.db import migrations
3160
3161
3162 class Migration(migrations.Migration):
3163-
3164 dependencies = [
3165 ("maasserver", "0215_numanode_hugepages"),
3166 ]
3167diff --git a/src/maasserver/migrations/maasserver/0217_notification_dismissal_timestamp.py b/src/maasserver/migrations/maasserver/0217_notification_dismissal_timestamp.py
3168index 24a174b..8137457 100644
3169--- a/src/maasserver/migrations/maasserver/0217_notification_dismissal_timestamp.py
3170+++ b/src/maasserver/migrations/maasserver/0217_notification_dismissal_timestamp.py
3171@@ -5,7 +5,6 @@ import django.utils.timezone
3172
3173
3174 class Migration(migrations.Migration):
3175-
3176 dependencies = [
3177 ("maasserver", "0216_remove_skip_bmc_config_column"),
3178 ]
3179diff --git a/src/maasserver/migrations/maasserver/0218_images_maas_io_daily_to_stable.py b/src/maasserver/migrations/maasserver/0218_images_maas_io_daily_to_stable.py
3180index 9818c7f..90ea89a 100644
3181--- a/src/maasserver/migrations/maasserver/0218_images_maas_io_daily_to_stable.py
3182+++ b/src/maasserver/migrations/maasserver/0218_images_maas_io_daily_to_stable.py
3183@@ -10,7 +10,6 @@ def daily_to_stable(apps, schema_editor):
3184
3185
3186 class Migration(migrations.Migration):
3187-
3188 dependencies = [("maasserver", "0217_notification_dismissal_timestamp")]
3189
3190 operations = [migrations.RunPython(daily_to_stable)]
3191diff --git a/src/maasserver/migrations/maasserver/0219_vm_nic_link.py b/src/maasserver/migrations/maasserver/0219_vm_nic_link.py
3192index badac6e..ded377a 100644
3193--- a/src/maasserver/migrations/maasserver/0219_vm_nic_link.py
3194+++ b/src/maasserver/migrations/maasserver/0219_vm_nic_link.py
3195@@ -8,7 +8,6 @@ import maasserver.models.cleansave
3196
3197
3198 class Migration(migrations.Migration):
3199-
3200 dependencies = [
3201 ("maasserver", "0218_images_maas_io_daily_to_stable"),
3202 ]
3203diff --git a/src/maasserver/migrations/maasserver/0220_nodedevice.py b/src/maasserver/migrations/maasserver/0220_nodedevice.py
3204index 15a874f..a3ad1f0 100644
3205--- a/src/maasserver/migrations/maasserver/0220_nodedevice.py
3206+++ b/src/maasserver/migrations/maasserver/0220_nodedevice.py
3207@@ -10,7 +10,6 @@ import maasserver.models.cleansave
3208
3209
3210 class Migration(migrations.Migration):
3211-
3212 dependencies = [
3213 ("maasserver", "0219_vm_nic_link"),
3214 ]
3215diff --git a/src/maasserver/migrations/maasserver/0221_track_lxd_project.py b/src/maasserver/migrations/maasserver/0221_track_lxd_project.py
3216index 35467fe..2d715c4 100644
3217--- a/src/maasserver/migrations/maasserver/0221_track_lxd_project.py
3218+++ b/src/maasserver/migrations/maasserver/0221_track_lxd_project.py
3219@@ -15,7 +15,6 @@ def lxd_bmcs_add_project(apps, schema_editor):
3220
3221
3222 class Migration(migrations.Migration):
3223-
3224 dependencies = [
3225 ("maasserver", "0220_nodedevice"),
3226 ]
3227diff --git a/src/maasserver/migrations/maasserver/0222_replace_node_creation_type.py b/src/maasserver/migrations/maasserver/0222_replace_node_creation_type.py
3228index 0700688..b97e4c1 100644
3229--- a/src/maasserver/migrations/maasserver/0222_replace_node_creation_type.py
3230+++ b/src/maasserver/migrations/maasserver/0222_replace_node_creation_type.py
3231@@ -13,7 +13,6 @@ def fill_node_dynamic(apps, schema_editor):
3232
3233
3234 class Migration(migrations.Migration):
3235-
3236 dependencies = [
3237 ("maasserver", "0221_track_lxd_project"),
3238 ]
3239diff --git a/src/maasserver/migrations/maasserver/0223_virtualmachine_blank_project.py b/src/maasserver/migrations/maasserver/0223_virtualmachine_blank_project.py
3240index ec3cc05..f7c18b2 100644
3241--- a/src/maasserver/migrations/maasserver/0223_virtualmachine_blank_project.py
3242+++ b/src/maasserver/migrations/maasserver/0223_virtualmachine_blank_project.py
3243@@ -29,7 +29,6 @@ def create_virtual_machines(apps, schema_editor):
3244
3245
3246 class Migration(migrations.Migration):
3247-
3248 dependencies = [
3249 ("maasserver", "0222_replace_node_creation_type"),
3250 ]
3251diff --git a/src/maasserver/migrations/maasserver/0224_virtual_machine_disk.py b/src/maasserver/migrations/maasserver/0224_virtual_machine_disk.py
3252index fb4635e..3f81dd0 100644
3253--- a/src/maasserver/migrations/maasserver/0224_virtual_machine_disk.py
3254+++ b/src/maasserver/migrations/maasserver/0224_virtual_machine_disk.py
3255@@ -39,7 +39,6 @@ def sync_vm_disks(apps, schema_editor):
3256
3257
3258 class Migration(migrations.Migration):
3259-
3260 dependencies = [
3261 ("maasserver", "0223_virtualmachine_blank_project"),
3262 ]
3263diff --git a/src/maasserver/migrations/maasserver/0225_drop_rsd_pod.py b/src/maasserver/migrations/maasserver/0225_drop_rsd_pod.py
3264index a35c1fd..7602efc 100644
3265--- a/src/maasserver/migrations/maasserver/0225_drop_rsd_pod.py
3266+++ b/src/maasserver/migrations/maasserver/0225_drop_rsd_pod.py
3267@@ -9,7 +9,6 @@ def drop_rsd_pods(apps, schema_editor):
3268
3269
3270 class Migration(migrations.Migration):
3271-
3272 dependencies = [
3273 ("maasserver", "0224_virtual_machine_disk"),
3274 ]
3275diff --git a/src/maasserver/migrations/maasserver/0226_drop_iscsi_storage.py b/src/maasserver/migrations/maasserver/0226_drop_iscsi_storage.py
3276index 89e76b8..3fb56c4 100644
3277--- a/src/maasserver/migrations/maasserver/0226_drop_iscsi_storage.py
3278+++ b/src/maasserver/migrations/maasserver/0226_drop_iscsi_storage.py
3279@@ -4,7 +4,6 @@ from django.db import migrations
3280
3281
3282 class Migration(migrations.Migration):
3283-
3284 dependencies = [
3285 ("maasserver", "0225_drop_rsd_pod"),
3286 ]
3287diff --git a/src/maasserver/migrations/maasserver/0227_drop_pod_local_storage.py b/src/maasserver/migrations/maasserver/0227_drop_pod_local_storage.py
3288index ef1fd63..09a1999 100644
3289--- a/src/maasserver/migrations/maasserver/0227_drop_pod_local_storage.py
3290+++ b/src/maasserver/migrations/maasserver/0227_drop_pod_local_storage.py
3291@@ -4,7 +4,6 @@ from django.db import migrations
3292
3293
3294 class Migration(migrations.Migration):
3295-
3296 dependencies = [
3297 ("maasserver", "0226_drop_iscsi_storage"),
3298 ]
3299diff --git a/src/maasserver/migrations/maasserver/0228_drop_iscsiblockdevice.py b/src/maasserver/migrations/maasserver/0228_drop_iscsiblockdevice.py
3300index 4f55e9b..ce352f8 100644
3301--- a/src/maasserver/migrations/maasserver/0228_drop_iscsiblockdevice.py
3302+++ b/src/maasserver/migrations/maasserver/0228_drop_iscsiblockdevice.py
3303@@ -4,7 +4,6 @@ from django.db import migrations
3304
3305
3306 class Migration(migrations.Migration):
3307-
3308 dependencies = [
3309 ("maasserver", "0227_drop_pod_local_storage"),
3310 ]
3311diff --git a/src/maasserver/migrations/maasserver/0229_drop_physicalblockdevice_storage_pool.py b/src/maasserver/migrations/maasserver/0229_drop_physicalblockdevice_storage_pool.py
3312index 9173f1e..9b7b16c 100644
3313--- a/src/maasserver/migrations/maasserver/0229_drop_physicalblockdevice_storage_pool.py
3314+++ b/src/maasserver/migrations/maasserver/0229_drop_physicalblockdevice_storage_pool.py
3315@@ -4,7 +4,6 @@ from django.db import migrations
3316
3317
3318 class Migration(migrations.Migration):
3319-
3320 dependencies = [
3321 ("maasserver", "0228_drop_iscsiblockdevice"),
3322 ]
3323diff --git a/src/maasserver/migrations/maasserver/0230_tag_kernel_opts_blank_instead_of_null.py b/src/maasserver/migrations/maasserver/0230_tag_kernel_opts_blank_instead_of_null.py
3324index 397b945..9450794 100644
3325--- a/src/maasserver/migrations/maasserver/0230_tag_kernel_opts_blank_instead_of_null.py
3326+++ b/src/maasserver/migrations/maasserver/0230_tag_kernel_opts_blank_instead_of_null.py
3327@@ -4,7 +4,6 @@ from django.db import migrations, models
3328
3329
3330 class Migration(migrations.Migration):
3331-
3332 dependencies = [
3333 ("maasserver", "0229_drop_physicalblockdevice_storage_pool"),
3334 ]
3335diff --git a/src/maasserver/migrations/maasserver/0231_bmc_version.py b/src/maasserver/migrations/maasserver/0231_bmc_version.py
3336index ccdf5ff..2c42b90 100644
3337--- a/src/maasserver/migrations/maasserver/0231_bmc_version.py
3338+++ b/src/maasserver/migrations/maasserver/0231_bmc_version.py
3339@@ -4,7 +4,6 @@ from django.db import migrations, models
3340
3341
3342 class Migration(migrations.Migration):
3343-
3344 dependencies = [
3345 ("maasserver", "0230_tag_kernel_opts_blank_instead_of_null"),
3346 ]
3347diff --git a/src/maasserver/migrations/maasserver/0232_drop_controllerinfo_interface_fields.py b/src/maasserver/migrations/maasserver/0232_drop_controllerinfo_interface_fields.py
3348index c7a2d16..a5a8f07 100644
3349--- a/src/maasserver/migrations/maasserver/0232_drop_controllerinfo_interface_fields.py
3350+++ b/src/maasserver/migrations/maasserver/0232_drop_controllerinfo_interface_fields.py
3351@@ -4,7 +4,6 @@ from django.db import migrations
3352
3353
3354 class Migration(migrations.Migration):
3355-
3356 dependencies = [
3357 ("maasserver", "0231_bmc_version"),
3358 ]
3359diff --git a/src/maasserver/migrations/maasserver/0233_drop_switch.py b/src/maasserver/migrations/maasserver/0233_drop_switch.py
3360index c2a0383..ecd1028 100644
3361--- a/src/maasserver/migrations/maasserver/0233_drop_switch.py
3362+++ b/src/maasserver/migrations/maasserver/0233_drop_switch.py
3363@@ -4,7 +4,6 @@ from django.db import migrations
3364
3365
3366 class Migration(migrations.Migration):
3367-
3368 dependencies = [
3369 ("maasserver", "0232_drop_controllerinfo_interface_fields"),
3370 ]
3371diff --git a/src/maasserver/migrations/maasserver/0234_node_register_vmhost.py b/src/maasserver/migrations/maasserver/0234_node_register_vmhost.py
3372index 6d291fc..6431a08 100644
3373--- a/src/maasserver/migrations/maasserver/0234_node_register_vmhost.py
3374+++ b/src/maasserver/migrations/maasserver/0234_node_register_vmhost.py
3375@@ -4,7 +4,6 @@ from django.db import migrations, models
3376
3377
3378 class Migration(migrations.Migration):
3379-
3380 dependencies = [
3381 ("maasserver", "0233_drop_switch"),
3382 ]
3383diff --git a/src/maasserver/migrations/maasserver/0235_controllerinfo_versions_details.py b/src/maasserver/migrations/maasserver/0235_controllerinfo_versions_details.py
3384index da93d75..48c2b1e 100644
3385--- a/src/maasserver/migrations/maasserver/0235_controllerinfo_versions_details.py
3386+++ b/src/maasserver/migrations/maasserver/0235_controllerinfo_versions_details.py
3387@@ -4,7 +4,6 @@ from django.db import migrations, models
3388
3389
3390 class Migration(migrations.Migration):
3391-
3392 dependencies = [
3393 ("maasserver", "0234_node_register_vmhost"),
3394 ]
3395diff --git a/src/maasserver/migrations/maasserver/0236_controllerinfo_update_first_reported.py b/src/maasserver/migrations/maasserver/0236_controllerinfo_update_first_reported.py
3396index b1fef88..016d282 100644
3397--- a/src/maasserver/migrations/maasserver/0236_controllerinfo_update_first_reported.py
3398+++ b/src/maasserver/migrations/maasserver/0236_controllerinfo_update_first_reported.py
3399@@ -4,7 +4,6 @@ from django.db import migrations, models
3400
3401
3402 class Migration(migrations.Migration):
3403-
3404 dependencies = [
3405 ("maasserver", "0235_controllerinfo_versions_details"),
3406 ]
3407diff --git a/src/maasserver/migrations/maasserver/0237_drop_controller_version_mismatch_notifications.py b/src/maasserver/migrations/maasserver/0237_drop_controller_version_mismatch_notifications.py
3408index d4e4a4c..d338992 100644
3409--- a/src/maasserver/migrations/maasserver/0237_drop_controller_version_mismatch_notifications.py
3410+++ b/src/maasserver/migrations/maasserver/0237_drop_controller_version_mismatch_notifications.py
3411@@ -11,7 +11,6 @@ def drop_notifications(apps, schema_editor):
3412
3413
3414 class Migration(migrations.Migration):
3415-
3416 dependencies = [
3417 ("maasserver", "0236_controllerinfo_update_first_reported"),
3418 ]
3419diff --git a/src/maasserver/migrations/maasserver/0238_disable_boot_architectures.py b/src/maasserver/migrations/maasserver/0238_disable_boot_architectures.py
3420index fc5d7bb..6340004 100644
3421--- a/src/maasserver/migrations/maasserver/0238_disable_boot_architectures.py
3422+++ b/src/maasserver/migrations/maasserver/0238_disable_boot_architectures.py
3423@@ -5,7 +5,6 @@ from django.db import migrations, models
3424
3425
3426 class Migration(migrations.Migration):
3427-
3428 dependencies = [
3429 ("maasserver", "0237_drop_controller_version_mismatch_notifications"),
3430 ]
3431diff --git a/src/maasserver/migrations/maasserver/0239_add_iprange_specific_dhcp_snippets.py b/src/maasserver/migrations/maasserver/0239_add_iprange_specific_dhcp_snippets.py
3432index f5bba86..efa3807 100644
3433--- a/src/maasserver/migrations/maasserver/0239_add_iprange_specific_dhcp_snippets.py
3434+++ b/src/maasserver/migrations/maasserver/0239_add_iprange_specific_dhcp_snippets.py
3435@@ -5,7 +5,6 @@ import django.db.models.deletion
3436
3437
3438 class Migration(migrations.Migration):
3439-
3440 dependencies = [
3441 ("maasserver", "0238_disable_boot_architectures"),
3442 ]
3443diff --git a/src/maasserver/migrations/maasserver/0240_ownerdata_key_fix.py b/src/maasserver/migrations/maasserver/0240_ownerdata_key_fix.py
3444index b2d4949..e07db7b 100644
3445--- a/src/maasserver/migrations/maasserver/0240_ownerdata_key_fix.py
3446+++ b/src/maasserver/migrations/maasserver/0240_ownerdata_key_fix.py
3447@@ -34,7 +34,6 @@ def fix_ownerdata_keys(apps, schema_editor):
3448
3449
3450 class Migration(migrations.Migration):
3451-
3452 dependencies = [
3453 ("maasserver", "0239_add_iprange_specific_dhcp_snippets"),
3454 ]
3455diff --git a/src/maasserver/migrations/maasserver/0241_physical_interface_default_node_numanode.py b/src/maasserver/migrations/maasserver/0241_physical_interface_default_node_numanode.py
3456index 7cfcabd..23b1182 100644
3457--- a/src/maasserver/migrations/maasserver/0241_physical_interface_default_node_numanode.py
3458+++ b/src/maasserver/migrations/maasserver/0241_physical_interface_default_node_numanode.py
3459@@ -50,7 +50,6 @@ def fix_empty_interface_numanode(apps, schema_editor):
3460
3461
3462 class Migration(migrations.Migration):
3463-
3464 dependencies = [
3465 ("maasserver", "0240_ownerdata_key_fix"),
3466 ]
3467diff --git a/src/maasserver/migrations/maasserver/0242_forwarddnsserver.py b/src/maasserver/migrations/maasserver/0242_forwarddnsserver.py
3468index dc5fdd9..e85d6ea 100644
3469--- a/src/maasserver/migrations/maasserver/0242_forwarddnsserver.py
3470+++ b/src/maasserver/migrations/maasserver/0242_forwarddnsserver.py
3471@@ -6,7 +6,6 @@ import maasserver.models.cleansave
3472
3473
3474 class Migration(migrations.Migration):
3475-
3476 dependencies = [
3477 ("maasserver", "0241_physical_interface_default_node_numanode"),
3478 ]
3479diff --git a/src/maasserver/migrations/maasserver/0243_node_dynamic_for_controller_and_vmhost.py b/src/maasserver/migrations/maasserver/0243_node_dynamic_for_controller_and_vmhost.py
3480index e0b2135..d375b33 100644
3481--- a/src/maasserver/migrations/maasserver/0243_node_dynamic_for_controller_and_vmhost.py
3482+++ b/src/maasserver/migrations/maasserver/0243_node_dynamic_for_controller_and_vmhost.py
3483@@ -19,7 +19,6 @@ def set_node_dynamic(apps, schema_editor):
3484
3485
3486 class Migration(migrations.Migration):
3487-
3488 dependencies = [
3489 ("maasserver", "0242_forwarddnsserver"),
3490 ]
3491diff --git a/src/maasserver/migrations/maasserver/0244_controller_nodes_deployed.py b/src/maasserver/migrations/maasserver/0244_controller_nodes_deployed.py
3492index 7b2fdba..b134041 100644
3493--- a/src/maasserver/migrations/maasserver/0244_controller_nodes_deployed.py
3494+++ b/src/maasserver/migrations/maasserver/0244_controller_nodes_deployed.py
3495@@ -23,7 +23,6 @@ def set_node_deployed(apps, schema_editor):
3496
3497
3498 class Migration(migrations.Migration):
3499-
3500 dependencies = [
3501 ("maasserver", "0243_node_dynamic_for_controller_and_vmhost"),
3502 ]
3503diff --git a/src/maasserver/migrations/maasserver/0245_bmc_power_parameters_index_hash.py b/src/maasserver/migrations/maasserver/0245_bmc_power_parameters_index_hash.py
3504index 070e640..653548a 100644
3505--- a/src/maasserver/migrations/maasserver/0245_bmc_power_parameters_index_hash.py
3506+++ b/src/maasserver/migrations/maasserver/0245_bmc_power_parameters_index_hash.py
3507@@ -5,7 +5,6 @@ from django.db import migrations, models
3508
3509
3510 class Migration(migrations.Migration):
3511-
3512 dependencies = [
3513 ("maasserver", "0244_controller_nodes_deployed"),
3514 ]
3515diff --git a/src/maasserver/migrations/maasserver/0246_bootresource_custom_base_type.py b/src/maasserver/migrations/maasserver/0246_bootresource_custom_base_type.py
3516index 9cb4487..c827cb7 100644
3517--- a/src/maasserver/migrations/maasserver/0246_bootresource_custom_base_type.py
3518+++ b/src/maasserver/migrations/maasserver/0246_bootresource_custom_base_type.py
3519@@ -4,7 +4,6 @@ from django.db import migrations, models
3520
3521
3522 class Migration(migrations.Migration):
3523-
3524 dependencies = [
3525 ("maasserver", "0245_bmc_power_parameters_index_hash"),
3526 ]
3527diff --git a/src/maasserver/migrations/maasserver/0247_auto_20210915_1545.py b/src/maasserver/migrations/maasserver/0247_auto_20210915_1545.py
3528index 72fa839..e4deab3 100644
3529--- a/src/maasserver/migrations/maasserver/0247_auto_20210915_1545.py
3530+++ b/src/maasserver/migrations/maasserver/0247_auto_20210915_1545.py
3531@@ -7,7 +7,6 @@ import maasserver.models.cleansave
3532
3533
3534 class Migration(migrations.Migration):
3535-
3536 dependencies = [
3537 ("maasserver", "0246_bootresource_custom_base_type"),
3538 ]
3539diff --git a/src/maasserver/migrations/maasserver/0248_auto_20211006_1829.py b/src/maasserver/migrations/maasserver/0248_auto_20211006_1829.py
3540index 32e9f4f..8884d37 100644
3541--- a/src/maasserver/migrations/maasserver/0248_auto_20211006_1829.py
3542+++ b/src/maasserver/migrations/maasserver/0248_auto_20211006_1829.py
3543@@ -7,7 +7,6 @@ import maasserver.models.node
3544
3545
3546 class Migration(migrations.Migration):
3547-
3548 dependencies = [
3549 ("maasserver", "0247_auto_20210915_1545"),
3550 ]
3551diff --git a/src/maasserver/migrations/maasserver/0249_lxd_auth_metrics.py b/src/maasserver/migrations/maasserver/0249_lxd_auth_metrics.py
3552index 3d8b84d..d93af21 100644
3553--- a/src/maasserver/migrations/maasserver/0249_lxd_auth_metrics.py
3554+++ b/src/maasserver/migrations/maasserver/0249_lxd_auth_metrics.py
3555@@ -4,7 +4,6 @@ from django.db import migrations, models
3556
3557
3558 class Migration(migrations.Migration):
3559-
3560 dependencies = [
3561 ("maasserver", "0248_auto_20211006_1829"),
3562 ]
3563diff --git a/src/maasserver/migrations/maasserver/0250_node_last_applied_storage_layout.py b/src/maasserver/migrations/maasserver/0250_node_last_applied_storage_layout.py
3564index 7027e3b..9523a36 100644
3565--- a/src/maasserver/migrations/maasserver/0250_node_last_applied_storage_layout.py
3566+++ b/src/maasserver/migrations/maasserver/0250_node_last_applied_storage_layout.py
3567@@ -4,7 +4,6 @@ from django.db import migrations, models
3568
3569
3570 class Migration(migrations.Migration):
3571-
3572 dependencies = [
3573 ("maasserver", "0249_lxd_auth_metrics"),
3574 ]
3575diff --git a/src/maasserver/migrations/maasserver/0251_auto_20211027_2128.py b/src/maasserver/migrations/maasserver/0251_auto_20211027_2128.py
3576index 78d667d..7321468 100644
3577--- a/src/maasserver/migrations/maasserver/0251_auto_20211027_2128.py
3578+++ b/src/maasserver/migrations/maasserver/0251_auto_20211027_2128.py
3579@@ -4,7 +4,6 @@ from django.db import migrations, models
3580
3581
3582 class Migration(migrations.Migration):
3583-
3584 dependencies = [
3585 ("maasserver", "0250_node_last_applied_storage_layout"),
3586 ]
3587diff --git a/src/maasserver/migrations/maasserver/0252_drop_fannetwork.py b/src/maasserver/migrations/maasserver/0252_drop_fannetwork.py
3588index 425092b..3f395b1 100644
3589--- a/src/maasserver/migrations/maasserver/0252_drop_fannetwork.py
3590+++ b/src/maasserver/migrations/maasserver/0252_drop_fannetwork.py
3591@@ -4,7 +4,6 @@ from django.db import migrations
3592
3593
3594 class Migration(migrations.Migration):
3595-
3596 dependencies = [
3597 ("maasserver", "0251_auto_20211027_2128"),
3598 ]
3599diff --git a/src/maasserver/migrations/maasserver/0253_nodeconfig.py b/src/maasserver/migrations/maasserver/0253_nodeconfig.py
3600index 7742809..3769ca2 100644
3601--- a/src/maasserver/migrations/maasserver/0253_nodeconfig.py
3602+++ b/src/maasserver/migrations/maasserver/0253_nodeconfig.py
3603@@ -20,7 +20,6 @@ def create_default_nodeconfigs(apps, schema_editor):
3604
3605
3606 class Migration(migrations.Migration):
3607-
3608 dependencies = [
3609 ("maasserver", "0252_drop_fannetwork"),
3610 ]
3611diff --git a/src/maasserver/migrations/maasserver/0254_default_nodeconfig_devices.py b/src/maasserver/migrations/maasserver/0254_default_nodeconfig_devices.py
3612index b1a2f3b..11c1e6a 100644
3613--- a/src/maasserver/migrations/maasserver/0254_default_nodeconfig_devices.py
3614+++ b/src/maasserver/migrations/maasserver/0254_default_nodeconfig_devices.py
3615@@ -25,7 +25,6 @@ def create_default_nodeconfig_devices(apps, schema_editor):
3616
3617
3618 class Migration(migrations.Migration):
3619-
3620 dependencies = [
3621 ("maasserver", "0253_nodeconfig"),
3622 ]
3623diff --git a/src/maasserver/migrations/maasserver/0255_node_current_config.py b/src/maasserver/migrations/maasserver/0255_node_current_config.py
3624index c22f1d9..1d9ea9b 100644
3625--- a/src/maasserver/migrations/maasserver/0255_node_current_config.py
3626+++ b/src/maasserver/migrations/maasserver/0255_node_current_config.py
3627@@ -17,7 +17,6 @@ def link_current_node_configs(apps, schema_editor):
3628
3629
3630 class Migration(migrations.Migration):
3631-
3632 dependencies = [
3633 ("maasserver", "0254_default_nodeconfig_devices"),
3634 ]
3635diff --git a/src/maasserver/migrations/maasserver/0256_blockdevice_nodeconfig_only.py b/src/maasserver/migrations/maasserver/0256_blockdevice_nodeconfig_only.py
3636index 24e1b72..2a58e88 100644
3637--- a/src/maasserver/migrations/maasserver/0256_blockdevice_nodeconfig_only.py
3638+++ b/src/maasserver/migrations/maasserver/0256_blockdevice_nodeconfig_only.py
3639@@ -4,7 +4,6 @@ from django.db import migrations
3640
3641
3642 class Migration(migrations.Migration):
3643-
3644 dependencies = [
3645 ("maasserver", "0255_node_current_config"),
3646 ]
3647diff --git a/src/maasserver/migrations/maasserver/0257_filesystem_populate_node_config_id.py b/src/maasserver/migrations/maasserver/0257_filesystem_populate_node_config_id.py
3648index 4d36e55..8305c4a 100644
3649--- a/src/maasserver/migrations/maasserver/0257_filesystem_populate_node_config_id.py
3650+++ b/src/maasserver/migrations/maasserver/0257_filesystem_populate_node_config_id.py
3651@@ -4,7 +4,6 @@ from django.db import migrations
3652
3653
3654 class Migration(migrations.Migration):
3655-
3656 dependencies = [
3657 ("maasserver", "0256_blockdevice_nodeconfig_only"),
3658 ]
3659diff --git a/src/maasserver/migrations/maasserver/0258_filesystem_nodeconfig_only.py b/src/maasserver/migrations/maasserver/0258_filesystem_nodeconfig_only.py
3660index 08705cc..c34b842 100644
3661--- a/src/maasserver/migrations/maasserver/0258_filesystem_nodeconfig_only.py
3662+++ b/src/maasserver/migrations/maasserver/0258_filesystem_nodeconfig_only.py
3663@@ -5,7 +5,6 @@ import django.db.models.deletion
3664
3665
3666 class Migration(migrations.Migration):
3667-
3668 dependencies = [
3669 ("maasserver", "0257_filesystem_populate_node_config_id"),
3670 ]
3671diff --git a/src/maasserver/migrations/maasserver/0259_add_hardware_sync_flag.py b/src/maasserver/migrations/maasserver/0259_add_hardware_sync_flag.py
3672index 7ce60b1..56f01f0 100644
3673--- a/src/maasserver/migrations/maasserver/0259_add_hardware_sync_flag.py
3674+++ b/src/maasserver/migrations/maasserver/0259_add_hardware_sync_flag.py
3675@@ -4,7 +4,6 @@ from django.db import migrations, models
3676
3677
3678 class Migration(migrations.Migration):
3679-
3680 dependencies = [
3681 ("maasserver", "0258_filesystem_nodeconfig_only"),
3682 ]
3683diff --git a/src/maasserver/migrations/maasserver/0260_drop_maas_support_views.py b/src/maasserver/migrations/maasserver/0260_drop_maas_support_views.py
3684index ab92cda..749d839 100644
3685--- a/src/maasserver/migrations/maasserver/0260_drop_maas_support_views.py
3686+++ b/src/maasserver/migrations/maasserver/0260_drop_maas_support_views.py
3687@@ -16,7 +16,6 @@ SUPPORT_VIEWS = (
3688
3689
3690 class Migration(migrations.Migration):
3691-
3692 dependencies = [
3693 ("maasserver", "0259_add_hardware_sync_flag"),
3694 ]
3695diff --git a/src/maasserver/migrations/maasserver/0261_interface_nodeconfig_only.py b/src/maasserver/migrations/maasserver/0261_interface_nodeconfig_only.py
3696index 107b668..fb3d9b6 100644
3697--- a/src/maasserver/migrations/maasserver/0261_interface_nodeconfig_only.py
3698+++ b/src/maasserver/migrations/maasserver/0261_interface_nodeconfig_only.py
3699@@ -4,7 +4,6 @@ from django.db import migrations
3700
3701
3702 class Migration(migrations.Migration):
3703-
3704 dependencies = [
3705 ("maasserver", "0260_drop_maas_support_views"),
3706 ]
3707diff --git a/src/maasserver/migrations/maasserver/0262_nodeconfig_link_replace_node.py b/src/maasserver/migrations/maasserver/0262_nodeconfig_link_replace_node.py
3708index 7f9eee4..262fa06 100644
3709--- a/src/maasserver/migrations/maasserver/0262_nodeconfig_link_replace_node.py
3710+++ b/src/maasserver/migrations/maasserver/0262_nodeconfig_link_replace_node.py
3711@@ -3,7 +3,6 @@ import django.db.models.deletion
3712
3713
3714 class Migration(migrations.Migration):
3715-
3716 dependencies = [
3717 ("maasserver", "0261_interface_nodeconfig_only"),
3718 ]
3719diff --git a/src/maasserver/migrations/maasserver/0263_vlan_racks_on_delete.py b/src/maasserver/migrations/maasserver/0263_vlan_racks_on_delete.py
3720index 48a92ea..08e2be2 100644
3721--- a/src/maasserver/migrations/maasserver/0263_vlan_racks_on_delete.py
3722+++ b/src/maasserver/migrations/maasserver/0263_vlan_racks_on_delete.py
3723@@ -5,7 +5,6 @@ import django.db.models.deletion
3724
3725
3726 class Migration(migrations.Migration):
3727-
3728 dependencies = [
3729 ("maasserver", "0262_nodeconfig_link_replace_node"),
3730 ]
3731diff --git a/src/maasserver/migrations/maasserver/0264_nodedevice_nodeconfig_link.py b/src/maasserver/migrations/maasserver/0264_nodedevice_nodeconfig_link.py
3732index 13b3666..5640006 100644
3733--- a/src/maasserver/migrations/maasserver/0264_nodedevice_nodeconfig_link.py
3734+++ b/src/maasserver/migrations/maasserver/0264_nodedevice_nodeconfig_link.py
3735@@ -5,7 +5,6 @@ import django.db.models.deletion
3736
3737
3738 class Migration(migrations.Migration):
3739-
3740 dependencies = [
3741 ("maasserver", "0263_vlan_racks_on_delete"),
3742 ]
3743diff --git a/src/maasserver/migrations/maasserver/0265_nodedevice_nodeconfig_migrate.py b/src/maasserver/migrations/maasserver/0265_nodedevice_nodeconfig_migrate.py
3744index 9a5ba2f..72b3031 100644
3745--- a/src/maasserver/migrations/maasserver/0265_nodedevice_nodeconfig_migrate.py
3746+++ b/src/maasserver/migrations/maasserver/0265_nodedevice_nodeconfig_migrate.py
3747@@ -4,7 +4,6 @@ from django.db import migrations
3748
3749
3750 class Migration(migrations.Migration):
3751-
3752 dependencies = [
3753 ("maasserver", "0264_nodedevice_nodeconfig_link"),
3754 ]
3755diff --git a/src/maasserver/migrations/maasserver/0266_nodedevice_unlink_node.py b/src/maasserver/migrations/maasserver/0266_nodedevice_unlink_node.py
3756index 2941386..69e0eba 100644
3757--- a/src/maasserver/migrations/maasserver/0266_nodedevice_unlink_node.py
3758+++ b/src/maasserver/migrations/maasserver/0266_nodedevice_unlink_node.py
3759@@ -5,7 +5,6 @@ import django.db.models.deletion
3760
3761
3762 class Migration(migrations.Migration):
3763-
3764 dependencies = [
3765 ("maasserver", "0265_nodedevice_nodeconfig_migrate"),
3766 ]
3767diff --git a/src/maasserver/migrations/maasserver/0267_add_machine_specific_sync_interval_fields.py b/src/maasserver/migrations/maasserver/0267_add_machine_specific_sync_interval_fields.py
3768index 99d3d99..610c6fa 100644
3769--- a/src/maasserver/migrations/maasserver/0267_add_machine_specific_sync_interval_fields.py
3770+++ b/src/maasserver/migrations/maasserver/0267_add_machine_specific_sync_interval_fields.py
3771@@ -4,7 +4,6 @@ from django.db import migrations, models
3772
3773
3774 class Migration(migrations.Migration):
3775-
3776 dependencies = [
3777 ("maasserver", "0266_nodedevice_unlink_node"),
3778 ]
3779diff --git a/src/maasserver/migrations/maasserver/0268_partition_index.py b/src/maasserver/migrations/maasserver/0268_partition_index.py
3780index 9193260..699b7a9 100644
3781--- a/src/maasserver/migrations/maasserver/0268_partition_index.py
3782+++ b/src/maasserver/migrations/maasserver/0268_partition_index.py
3783@@ -139,7 +139,6 @@ def partitions_size_match(actual_sizes, expected_sizes):
3784
3785
3786 class Migration(migrations.Migration):
3787-
3788 dependencies = [
3789 ("maasserver", "0267_add_machine_specific_sync_interval_fields"),
3790 ]
3791diff --git a/src/maasserver/migrations/maasserver/0269_interface_idx_include_nodeconfig.py b/src/maasserver/migrations/maasserver/0269_interface_idx_include_nodeconfig.py
3792index 4ae002b..f389562 100644
3793--- a/src/maasserver/migrations/maasserver/0269_interface_idx_include_nodeconfig.py
3794+++ b/src/maasserver/migrations/maasserver/0269_interface_idx_include_nodeconfig.py
3795@@ -4,7 +4,6 @@ from django.db import migrations
3796
3797
3798 class Migration(migrations.Migration):
3799-
3800 dependencies = [
3801 ("maasserver", "0268_partition_index"),
3802 ]
3803diff --git a/src/maasserver/migrations/maasserver/0270_storage_uuid_drop_unique.py b/src/maasserver/migrations/maasserver/0270_storage_uuid_drop_unique.py
3804index 27ea36b..4334d63 100644
3805--- a/src/maasserver/migrations/maasserver/0270_storage_uuid_drop_unique.py
3806+++ b/src/maasserver/migrations/maasserver/0270_storage_uuid_drop_unique.py
3807@@ -6,7 +6,6 @@ from django.db import migrations, models
3808
3809
3810 class Migration(migrations.Migration):
3811-
3812 dependencies = [
3813 ("maasserver", "0269_interface_idx_include_nodeconfig"),
3814 ]
3815diff --git a/src/maasserver/migrations/maasserver/0271_interface_unique.py b/src/maasserver/migrations/maasserver/0271_interface_unique.py
3816index 5b4f39a..12b5542 100644
3817--- a/src/maasserver/migrations/maasserver/0271_interface_unique.py
3818+++ b/src/maasserver/migrations/maasserver/0271_interface_unique.py
3819@@ -10,7 +10,6 @@ OLD_INDEXES = (
3820
3821
3822 class Migration(migrations.Migration):
3823-
3824 dependencies = [
3825 ("maasserver", "0270_storage_uuid_drop_unique"),
3826 ]
3827diff --git a/src/maasserver/migrations/maasserver/0272_virtualmachine_resources_unique.py b/src/maasserver/migrations/maasserver/0272_virtualmachine_resources_unique.py
3828index fe4b064..bfa85cc 100644
3829--- a/src/maasserver/migrations/maasserver/0272_virtualmachine_resources_unique.py
3830+++ b/src/maasserver/migrations/maasserver/0272_virtualmachine_resources_unique.py
3831@@ -5,7 +5,6 @@ import django.db.models.deletion
3832
3833
3834 class Migration(migrations.Migration):
3835-
3836 dependencies = [
3837 ("maasserver", "0271_interface_unique"),
3838 ]
3839diff --git a/src/maasserver/migrations/maasserver/0273_ipaddress_defaults.py b/src/maasserver/migrations/maasserver/0273_ipaddress_defaults.py
3840index 66c94c4..e3ceb34 100644
3841--- a/src/maasserver/migrations/maasserver/0273_ipaddress_defaults.py
3842+++ b/src/maasserver/migrations/maasserver/0273_ipaddress_defaults.py
3843@@ -4,7 +4,6 @@ from django.db import migrations, models
3844
3845
3846 class Migration(migrations.Migration):
3847-
3848 dependencies = [
3849 ("maasserver", "0272_virtualmachine_resources_unique"),
3850 ]
3851diff --git a/src/maasserver/migrations/maasserver/0274_audit_log_add_endpoint_cli_type.py b/src/maasserver/migrations/maasserver/0274_audit_log_add_endpoint_cli_type.py
3852index cab332b..52d1229 100644
3853--- a/src/maasserver/migrations/maasserver/0274_audit_log_add_endpoint_cli_type.py
3854+++ b/src/maasserver/migrations/maasserver/0274_audit_log_add_endpoint_cli_type.py
3855@@ -4,7 +4,6 @@ from django.db import migrations, models
3856
3857
3858 class Migration(migrations.Migration):
3859-
3860 dependencies = [
3861 ("maasserver", "0273_ipaddress_defaults"),
3862 ]
3863diff --git a/src/maasserver/migrations/maasserver/0275_interface_children.py b/src/maasserver/migrations/maasserver/0275_interface_children.py
3864index ab96f56..0888961 100644
3865--- a/src/maasserver/migrations/maasserver/0275_interface_children.py
3866+++ b/src/maasserver/migrations/maasserver/0275_interface_children.py
3867@@ -4,7 +4,6 @@ from django.db import migrations, models
3868
3869
3870 class Migration(migrations.Migration):
3871-
3872 dependencies = [
3873 ("maasserver", "0274_audit_log_add_endpoint_cli_type"),
3874 ]
3875diff --git a/src/maasserver/migrations/maasserver/0276_bmc_autodetect_metric.py b/src/maasserver/migrations/maasserver/0276_bmc_autodetect_metric.py
3876index d9ac5a0..2426eab 100644
3877--- a/src/maasserver/migrations/maasserver/0276_bmc_autodetect_metric.py
3878+++ b/src/maasserver/migrations/maasserver/0276_bmc_autodetect_metric.py
3879@@ -4,7 +4,6 @@ from django.db import migrations, models
3880
3881
3882 class Migration(migrations.Migration):
3883-
3884 dependencies = [
3885 ("maasserver", "0275_interface_children"),
3886 ]
3887diff --git a/src/maasserver/migrations/maasserver/0277_replace_nullbooleanfield.py b/src/maasserver/migrations/maasserver/0277_replace_nullbooleanfield.py
3888index 15a43f9..b957948 100644
3889--- a/src/maasserver/migrations/maasserver/0277_replace_nullbooleanfield.py
3890+++ b/src/maasserver/migrations/maasserver/0277_replace_nullbooleanfield.py
3891@@ -4,7 +4,6 @@ from django.db import migrations, models
3892
3893
3894 class Migration(migrations.Migration):
3895-
3896 dependencies = [
3897 ("maasserver", "0276_bmc_autodetect_metric"),
3898 ]
3899diff --git a/src/maasserver/migrations/maasserver/0278_generic_jsonfield.py b/src/maasserver/migrations/maasserver/0278_generic_jsonfield.py
3900index 60d600e..e9d9c9c 100644
3901--- a/src/maasserver/migrations/maasserver/0278_generic_jsonfield.py
3902+++ b/src/maasserver/migrations/maasserver/0278_generic_jsonfield.py
3903@@ -4,7 +4,6 @@ from django.db import migrations, models
3904
3905
3906 class Migration(migrations.Migration):
3907-
3908 dependencies = [
3909 ("maasserver", "0277_replace_nullbooleanfield"),
3910 ]
3911diff --git a/src/maasserver/migrations/maasserver/0279_store_vpd_metadata_for_nodedevice.py b/src/maasserver/migrations/maasserver/0279_store_vpd_metadata_for_nodedevice.py
3912index e06fead..e034c28 100644
3913--- a/src/maasserver/migrations/maasserver/0279_store_vpd_metadata_for_nodedevice.py
3914+++ b/src/maasserver/migrations/maasserver/0279_store_vpd_metadata_for_nodedevice.py
3915@@ -7,7 +7,6 @@ import maasserver.models.cleansave
3916
3917
3918 class Migration(migrations.Migration):
3919-
3920 dependencies = [
3921 ("maasserver", "0278_generic_jsonfield"),
3922 ]
3923diff --git a/src/maasserver/migrations/maasserver/0280_set_parent_for_existing_vms.py b/src/maasserver/migrations/maasserver/0280_set_parent_for_existing_vms.py
3924index 5ce9ea2..6958b5d 100644
3925--- a/src/maasserver/migrations/maasserver/0280_set_parent_for_existing_vms.py
3926+++ b/src/maasserver/migrations/maasserver/0280_set_parent_for_existing_vms.py
3927@@ -4,7 +4,6 @@ from django.db import migrations
3928
3929
3930 class Migration(migrations.Migration):
3931-
3932 dependencies = [
3933 ("maasserver", "0279_store_vpd_metadata_for_nodedevice"),
3934 ]
3935diff --git a/src/maasserver/migrations/maasserver/0281_secret_model.py b/src/maasserver/migrations/maasserver/0281_secret_model.py
3936index c71569b..996c1dc 100644
3937--- a/src/maasserver/migrations/maasserver/0281_secret_model.py
3938+++ b/src/maasserver/migrations/maasserver/0281_secret_model.py
3939@@ -4,7 +4,6 @@ from django.db import migrations, models
3940
3941
3942 class Migration(migrations.Migration):
3943-
3944 dependencies = [
3945 ("maasserver", "0280_set_parent_for_existing_vms"),
3946 ]
3947diff --git a/src/maasserver/migrations/maasserver/0282_rpc_shared_secret_to_secret.py b/src/maasserver/migrations/maasserver/0282_rpc_shared_secret_to_secret.py
3948index d828510..3372cdc 100644
3949--- a/src/maasserver/migrations/maasserver/0282_rpc_shared_secret_to_secret.py
3950+++ b/src/maasserver/migrations/maasserver/0282_rpc_shared_secret_to_secret.py
3951@@ -32,7 +32,6 @@ def move_secrets(apps, schema_editor):
3952
3953
3954 class Migration(migrations.Migration):
3955-
3956 dependencies = [
3957 ("maasserver", "0281_secret_model"),
3958 ]
3959diff --git a/src/maasserver/migrations/maasserver/0283_migrate_tls_secrets.py b/src/maasserver/migrations/maasserver/0283_migrate_tls_secrets.py
3960index 6d2fbc7..5534649 100644
3961--- a/src/maasserver/migrations/maasserver/0283_migrate_tls_secrets.py
3962+++ b/src/maasserver/migrations/maasserver/0283_migrate_tls_secrets.py
3963@@ -31,7 +31,6 @@ def move_tls_secrets(apps, schema_editor):
3964
3965
3966 class Migration(migrations.Migration):
3967-
3968 dependencies = [
3969 ("maasserver", "0282_rpc_shared_secret_to_secret"),
3970 ]
3971diff --git a/src/maasserver/migrations/maasserver/0284_migrate_more_global_secrets.py b/src/maasserver/migrations/maasserver/0284_migrate_more_global_secrets.py
3972index 35abc60..80ea926 100644
3973--- a/src/maasserver/migrations/maasserver/0284_migrate_more_global_secrets.py
3974+++ b/src/maasserver/migrations/maasserver/0284_migrate_more_global_secrets.py
3975@@ -31,7 +31,6 @@ def move_secrets(apps, schema_editor):
3976
3977
3978 class Migration(migrations.Migration):
3979-
3980 dependencies = [
3981 ("maasserver", "0283_migrate_tls_secrets"),
3982 ]
3983diff --git a/src/maasserver/migrations/maasserver/0285_migrate_external_auth_secrets.py b/src/maasserver/migrations/maasserver/0285_migrate_external_auth_secrets.py
3984index 919d9e2..3c031f1 100644
3985--- a/src/maasserver/migrations/maasserver/0285_migrate_external_auth_secrets.py
3986+++ b/src/maasserver/migrations/maasserver/0285_migrate_external_auth_secrets.py
3987@@ -39,7 +39,6 @@ def move_secrets(apps, schema_editor):
3988
3989
3990 class Migration(migrations.Migration):
3991-
3992 dependencies = [
3993 ("maasserver", "0284_migrate_more_global_secrets"),
3994 ]
3995diff --git a/src/maasserver/migrations/maasserver/0286_node_deploy_metadata.py b/src/maasserver/migrations/maasserver/0286_node_deploy_metadata.py
3996index 0c0daf2..8bf9e14 100644
3997--- a/src/maasserver/migrations/maasserver/0286_node_deploy_metadata.py
3998+++ b/src/maasserver/migrations/maasserver/0286_node_deploy_metadata.py
3999@@ -35,7 +35,6 @@ def migrate_node_metadata(apps, schema_editor):
4000
4001
4002 class Migration(migrations.Migration):
4003-
4004 dependencies = [
4005 ("maasserver", "0285_migrate_external_auth_secrets"),
4006 ]
4007diff --git a/src/maasserver/migrations/maasserver/0287_add_controller_info_vault_flag.py b/src/maasserver/migrations/maasserver/0287_add_controller_info_vault_flag.py
4008index 378c9e3..f790723 100644
4009--- a/src/maasserver/migrations/maasserver/0287_add_controller_info_vault_flag.py
4010+++ b/src/maasserver/migrations/maasserver/0287_add_controller_info_vault_flag.py
4011@@ -4,7 +4,6 @@ from django.db import migrations, models
4012
4013
4014 class Migration(migrations.Migration):
4015-
4016 dependencies = [
4017 ("maasserver", "0286_node_deploy_metadata"),
4018 ]
4019diff --git a/src/maasserver/migrations/maasserver/0288_rootkey_material_secret.py b/src/maasserver/migrations/maasserver/0288_rootkey_material_secret.py
4020index 6bd7560..4c93d5b 100644
4021--- a/src/maasserver/migrations/maasserver/0288_rootkey_material_secret.py
4022+++ b/src/maasserver/migrations/maasserver/0288_rootkey_material_secret.py
4023@@ -33,7 +33,6 @@ def migrate_rootkey_material(apps, schema_editor):
4024
4025
4026 class Migration(migrations.Migration):
4027-
4028 dependencies = [
4029 ("maasserver", "0287_add_controller_info_vault_flag"),
4030 ]
4031diff --git a/src/maasserver/migrations/maasserver/0289_vault_secret.py b/src/maasserver/migrations/maasserver/0289_vault_secret.py
4032index 5791a7e..cfba20f 100644
4033--- a/src/maasserver/migrations/maasserver/0289_vault_secret.py
4034+++ b/src/maasserver/migrations/maasserver/0289_vault_secret.py
4035@@ -4,7 +4,6 @@ from django.db import migrations, models
4036
4037
4038 class Migration(migrations.Migration):
4039-
4040 dependencies = [
4041 ("maasserver", "0288_rootkey_material_secret"),
4042 ]
4043diff --git a/src/maasserver/migrations/maasserver/0290_migrate_node_power_parameters.py b/src/maasserver/migrations/maasserver/0290_migrate_node_power_parameters.py
4044index 6cd6f3e..84bf466 100644
4045--- a/src/maasserver/migrations/maasserver/0290_migrate_node_power_parameters.py
4046+++ b/src/maasserver/migrations/maasserver/0290_migrate_node_power_parameters.py
4047@@ -69,7 +69,6 @@ def move_secrets(apps, schema_editor):
4048
4049
4050 class Migration(migrations.Migration):
4051-
4052 dependencies = [
4053 ("maasserver", "0289_vault_secret"),
4054 ]
4055diff --git a/src/maasserver/migrations/maasserver/0291_rdns_hostnames_as_array.py b/src/maasserver/migrations/maasserver/0291_rdns_hostnames_as_array.py
4056index 03b3f4c..d066872 100644
4057--- a/src/maasserver/migrations/maasserver/0291_rdns_hostnames_as_array.py
4058+++ b/src/maasserver/migrations/maasserver/0291_rdns_hostnames_as_array.py
4059@@ -30,7 +30,6 @@ QUERIES = (
4060
4061
4062 class Migration(migrations.Migration):
4063-
4064 dependencies = [
4065 ("maasserver", "0290_migrate_node_power_parameters"),
4066 ]
4067diff --git a/src/maasserver/migrations/maasserver/0292_use_builtin_json_field.py b/src/maasserver/migrations/maasserver/0292_use_builtin_json_field.py
4068index afe7d16..f53fd16 100644
4069--- a/src/maasserver/migrations/maasserver/0292_use_builtin_json_field.py
4070+++ b/src/maasserver/migrations/maasserver/0292_use_builtin_json_field.py
4071@@ -4,7 +4,6 @@ from django.db import migrations, models
4072
4073
4074 class Migration(migrations.Migration):
4075-
4076 dependencies = [
4077 ("maasserver", "0291_rdns_hostnames_as_array"),
4078 ]
4079diff --git a/src/maasserver/migrations/piston3/0001_initial.py b/src/maasserver/migrations/piston3/0001_initial.py
4080index 7912650..61f6e1b 100644
4081--- a/src/maasserver/migrations/piston3/0001_initial.py
4082+++ b/src/maasserver/migrations/piston3/0001_initial.py
4083@@ -4,7 +4,6 @@ import piston3.models
4084
4085
4086 class Migration(migrations.Migration):
4087-
4088 dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
4089
4090 operations = [
4091diff --git a/src/maasserver/migrations/piston3/0002_auto_20151209_1652.py b/src/maasserver/migrations/piston3/0002_auto_20151209_1652.py
4092index 4a1d397..41c957b 100644
4093--- a/src/maasserver/migrations/piston3/0002_auto_20151209_1652.py
4094+++ b/src/maasserver/migrations/piston3/0002_auto_20151209_1652.py
4095@@ -2,7 +2,6 @@ from django.db import migrations, models
4096
4097
4098 class Migration(migrations.Migration):
4099-
4100 dependencies = [("piston3", "0001_initial")]
4101
4102 operations = [
4103diff --git a/src/maasserver/migrations/piston3/0003_piston_nonce_index.py b/src/maasserver/migrations/piston3/0003_piston_nonce_index.py
4104index 894f310..36a4341 100644
4105--- a/src/maasserver/migrations/piston3/0003_piston_nonce_index.py
4106+++ b/src/maasserver/migrations/piston3/0003_piston_nonce_index.py
4107@@ -4,7 +4,6 @@ from django.db import migrations
4108
4109
4110 class Migration(migrations.Migration):
4111-
4112 dependencies = [("piston3", "0002_auto_20151209_1652")]
4113
4114 operations = [
4115diff --git a/src/maasserver/models/dhcpsnippet.py b/src/maasserver/models/dhcpsnippet.py
4116index 054ccce..08f1a46 100644
4117--- a/src/maasserver/models/dhcpsnippet.py
4118+++ b/src/maasserver/models/dhcpsnippet.py
4119@@ -70,7 +70,6 @@ class DHCPSnippetManager(Manager, DHCPSnippetQueriesMixin):
4120
4121
4122 class DHCPSnippet(CleanSave, TimestampedModel):
4123-
4124 name = CharField(max_length=255)
4125
4126 value = ForeignKey(VersionedTextFile, on_delete=CASCADE)
4127diff --git a/src/maasserver/models/forwarddnsserver.py b/src/maasserver/models/forwarddnsserver.py
4128index 9fe07be..5dcf740 100644
4129--- a/src/maasserver/models/forwarddnsserver.py
4130+++ b/src/maasserver/models/forwarddnsserver.py
4131@@ -22,7 +22,8 @@ class ForwardDNSServerManager(Manager):
4132 class ForwardDNSServer(CleanSave, TimestampedModel):
4133 """A `ForwardDNSServer`.
4134 :ivar ip_address: The IP address of the forward DNS server to forward queries to.
4135- :ivar domains: A many to many reference to domains that forward to this server."""
4136+ :ivar domains: A many to many reference to domains that forward to this server.
4137+ """
4138
4139 objects = ForwardDNSServerManager()
4140
4141diff --git a/src/maasserver/models/signals/tests/test_interfaces.py b/src/maasserver/models/signals/tests/test_interfaces.py
4142index 72d985e..18b10df 100644
4143--- a/src/maasserver/models/signals/tests/test_interfaces.py
4144+++ b/src/maasserver/models/signals/tests/test_interfaces.py
4145@@ -156,7 +156,6 @@ class TestMTUParams(MAASServerTestCase):
4146
4147
4148 class TestInterfaceVLANUpdateNotController(MAASServerTestCase):
4149-
4150 scenarios = (
4151 ("machine", {"maker": factory.make_Node}),
4152 ("device", {"maker": factory.make_Device}),
4153@@ -190,7 +189,6 @@ class TestInterfaceVLANUpdateNotController(MAASServerTestCase):
4154
4155
4156 class TestInterfaceVLANUpdateController(MAASServerTestCase):
4157-
4158 scenarios = (
4159 ("region", {"maker": factory.make_RegionController}),
4160 ("rack", {"maker": factory.make_RackController}),
4161diff --git a/src/maasserver/models/signals/tests/test_scriptresult.py b/src/maasserver/models/signals/tests/test_scriptresult.py
4162index 8af3f7f..7051652 100644
4163--- a/src/maasserver/models/signals/tests/test_scriptresult.py
4164+++ b/src/maasserver/models/signals/tests/test_scriptresult.py
4165@@ -142,7 +142,6 @@ class TestStatusTransitionEvent(MAASServerTestCase):
4166 )
4167
4168 def test_script_did_not_complete_emits_event(self):
4169-
4170 script_result = factory.make_ScriptResult(
4171 status=SCRIPT_STATUS.RUNNING,
4172 script_set=factory.make_ScriptSet(result_type=RESULT_TYPE.TESTING),
4173@@ -172,7 +171,6 @@ class TestStatusTransitionEvent(MAASServerTestCase):
4174 )
4175
4176 def test_script_changed_status_emits_event(self):
4177-
4178 old_status = SCRIPT_STATUS.RUNNING
4179 script_result = factory.make_ScriptResult(
4180 status=old_status,
4181@@ -207,7 +205,6 @@ class TestStatusTransitionEvent(MAASServerTestCase):
4182 )
4183
4184 def test_install_log_emits_event(self):
4185-
4186 old_status = SCRIPT_STATUS.RUNNING
4187 script_result = factory.make_ScriptResult(
4188 status=old_status,
4189diff --git a/src/maasserver/models/signals/tests/test_subnet.py b/src/maasserver/models/signals/tests/test_subnet.py
4190index 1cb847b..6a68ea3 100644
4191--- a/src/maasserver/models/signals/tests/test_subnet.py
4192+++ b/src/maasserver/models/signals/tests/test_subnet.py
4193@@ -10,7 +10,6 @@ from maasserver.testing.testcase import MAASServerTestCase
4194
4195
4196 class TestSubnetSignals(MAASServerTestCase):
4197-
4198 scenarios = (
4199 ("ipv4", {"network_maker": factory.make_ipv4_network}),
4200 ("ipv6", {"network_maker": factory.make_ipv6_network}),
4201diff --git a/src/maasserver/models/subnet.py b/src/maasserver/models/subnet.py
4202index 870d4eb..07bc202 100644
4203--- a/src/maasserver/models/subnet.py
4204+++ b/src/maasserver/models/subnet.py
4205@@ -94,7 +94,6 @@ def create_cidr(network, subnet_mask=None):
4206
4207
4208 class SubnetQueriesMixin(MAASQueriesMixin):
4209-
4210 find_subnets_with_ip_query = """
4211 SELECT DISTINCT subnet.*, masklen(subnet.cidr) "prefixlen"
4212 FROM
4213diff --git a/src/maasserver/models/tests/test_blockdevice.py b/src/maasserver/models/tests/test_blockdevice.py
4214index 66ea4a4..0f62837 100644
4215--- a/src/maasserver/models/tests/test_blockdevice.py
4216+++ b/src/maasserver/models/tests/test_blockdevice.py
4217@@ -384,7 +384,7 @@ class TestBlockDevice(MAASServerTestCase):
4218 (1000 * 1000 * 1000 * 1000, "1.0 TB"),
4219 )
4220 block_device = BlockDevice()
4221- for (size, display_size) in sizes:
4222+ for size, display_size in sizes:
4223 block_device.size = size
4224 self.expectThat(block_device.display_size(), Equals(display_size))
4225
4226@@ -558,7 +558,6 @@ class TestBlockDevice(MAASServerTestCase):
4227
4228
4229 class TestBlockDeviceBlockNameIdx(MAASTestCase):
4230-
4231 scenarios = (
4232 ("0", {"idx": 0, "name": "sda"}),
4233 ("25", {"idx": 25, "name": "sdz"}),
4234@@ -585,7 +584,6 @@ class TestBlockDeviceBlockNameIdx(MAASTestCase):
4235
4236
4237 class TestBlockDevicePostSaveCallsSave(MAASServerTestCase):
4238-
4239 scenarios = [
4240 ("BlockDevice", {"factory": factory.make_BlockDevice}),
4241 ("PhysicalBlockDevice", {"factory": factory.make_PhysicalBlockDevice}),
4242diff --git a/src/maasserver/models/tests/test_filesystemgroup.py b/src/maasserver/models/tests/test_filesystemgroup.py
4243index a0bf0e9..1625909 100644
4244--- a/src/maasserver/models/tests/test_filesystemgroup.py
4245+++ b/src/maasserver/models/tests/test_filesystemgroup.py
4246@@ -1681,7 +1681,6 @@ class TestFilesystemGroup(MAASServerTestCase):
4247
4248
4249 class TestFilesystemGroupGetNiceName(MAASServerTestCase):
4250-
4251 scenarios = [
4252 (
4253 FILESYSTEM_GROUP_TYPE.LVM_VG,
4254@@ -1728,7 +1727,6 @@ class TestFilesystemGroupGetNiceName(MAASServerTestCase):
4255
4256
4257 class TestFilesystemGroupGetNamePrefix(MAASServerTestCase):
4258-
4259 scenarios = [
4260 (
4261 FILESYSTEM_GROUP_TYPE.LVM_VG,
4262@@ -1772,7 +1770,6 @@ class TestFilesystemGroupGetNamePrefix(MAASServerTestCase):
4263
4264
4265 class TestFilesystemGroupGetVirtualBlockDeviceBlockSize(MAASServerTestCase):
4266-
4267 scenarios = [
4268 (
4269 FILESYSTEM_GROUP_TYPE.LVM_VG,
4270diff --git a/src/maasserver/models/tests/test_interface.py b/src/maasserver/models/tests/test_interface.py
4271index 82c70ce..a6cd866 100644
4272--- a/src/maasserver/models/tests/test_interface.py
4273+++ b/src/maasserver/models/tests/test_interface.py
4274@@ -1366,7 +1366,6 @@ class TestInterface(MAASServerTestCase):
4275
4276
4277 class TestUpdateInterfaceParentsOnSave(MAASServerTestCase):
4278-
4279 scenarios = (
4280 ("bond", {"iftype": INTERFACE_TYPE.BOND}),
4281 ("bridge", {"iftype": INTERFACE_TYPE.BRIDGE}),
4282@@ -4142,7 +4141,6 @@ class TestReportVID(MAASServerTestCase):
4283
4284
4285 class TestInterfaceGetDefaultBridgeName(MAASServerTestCase):
4286-
4287 # Normally we would use scenarios for this, but this was copied and
4288 # pasted from Juju code in bridgepolicy_test.go.
4289 expected_bridge_names = {
4290diff --git a/src/maasserver/models/tests/test_iprange.py b/src/maasserver/models/tests/test_iprange.py
4291index e9203ef..b5864ce 100644
4292--- a/src/maasserver/models/tests/test_iprange.py
4293+++ b/src/maasserver/models/tests/test_iprange.py
4294@@ -370,7 +370,6 @@ class TestIPRange(MAASServerTestCase):
4295
4296
4297 class TestIPRangeSavePreventsOverlapping(MAASServerTestCase):
4298-
4299 overlaps = "Requested %s range conflicts with an existing %srange."
4300 dynamic_overlaps = overlaps % (IPRANGE_TYPE.DYNAMIC, "IP address or ")
4301 reserved_overlaps = overlaps % (IPRANGE_TYPE.RESERVED, "")
4302diff --git a/src/maasserver/models/tests/test_largefile.py b/src/maasserver/models/tests/test_largefile.py
4303index 9caf641..d333a40 100644
4304--- a/src/maasserver/models/tests/test_largefile.py
4305+++ b/src/maasserver/models/tests/test_largefile.py
4306@@ -64,7 +64,6 @@ class TestLargeFileManager(MAASServerTestCase):
4307
4308
4309 class TestLargeFile(MAASServerTestCase):
4310-
4311 mock_delete_large_object_content_later = False
4312
4313 def test_content(self):
4314@@ -157,7 +156,6 @@ class TestLargeFile(MAASServerTestCase):
4315
4316
4317 class TestDeleteLargeObjectContentLater(MAASTransactionServerTestCase):
4318-
4319 mock_delete_large_object_content_later = False
4320
4321 def test_schedules_unlink(self):
4322diff --git a/src/maasserver/models/tests/test_managers.py b/src/maasserver/models/tests/test_managers.py
4323index 4a41389..f74a714 100644
4324--- a/src/maasserver/models/tests/test_managers.py
4325+++ b/src/maasserver/models/tests/test_managers.py
4326@@ -12,7 +12,6 @@ from maasserver.tests.models import (
4327
4328
4329 class TestBulkManager(MAASLegacyTransactionServerTestCase):
4330-
4331 apps = ["maasserver.tests"]
4332
4333 def test_manager_iterator_uses_cache(self):
4334diff --git a/src/maasserver/models/tests/test_node.py b/src/maasserver/models/tests/test_node.py
4335index 25fc5e1..8afb42b 100644
4336--- a/src/maasserver/models/tests/test_node.py
4337+++ b/src/maasserver/models/tests/test_node.py
4338@@ -714,7 +714,6 @@ class TestRegionControllerManager(MAASServerTestCase):
4339 class TestRegionControllerManagerGetOrCreateRunningController(
4340 MAASServerTestCase
4341 ):
4342-
4343 scenarios_hosts = (
4344 ("rack", dict(make_host_node=factory.make_RackController)),
4345 ("region", dict(make_host_node=factory.make_RegionController)),
4346@@ -11727,7 +11726,6 @@ class TestNodeStorageClone__MappingBetweenNodes(MAASServerTestCase):
4347 class TestNodeStorageClone_SimpleMBRLayout(
4348 MAASServerTestCase, AssertStorageConfigMixin
4349 ):
4350-
4351 STORAGE_CONFIG = dedent(
4352 """\
4353 config:
4354@@ -11948,7 +11946,6 @@ class TestNodeStorageClone_SimpleMBRLayout(
4355 class TestNodeStorageClone_ComplexDiskLayout(
4356 MAASServerTestCase, AssertStorageConfigMixin
4357 ):
4358-
4359 STORAGE_CONFIG = dedent(
4360 """\
4361 config:
4362@@ -12338,7 +12335,6 @@ class TestNodeStorageClone_ComplexDiskLayout(
4363 class TestNodeStorageClone_SpecialFilesystems(
4364 MAASServerTestCase, AssertStorageConfigMixin
4365 ):
4366-
4367 STORAGE_CONFIG = dedent(
4368 """\
4369 config:
4370diff --git a/src/maasserver/models/tests/test_subnet.py b/src/maasserver/models/tests/test_subnet.py
4371index 5a256fd..98112f4 100644
4372--- a/src/maasserver/models/tests/test_subnet.py
4373+++ b/src/maasserver/models/tests/test_subnet.py
4374@@ -1307,7 +1307,6 @@ class TestSubnetGetLeastRecentlySeenUnknownNeighbour(MAASServerTestCase):
4375
4376
4377 class TestSubnetGetNextIPForAllocation(MAASServerTestCase):
4378-
4379 scenarios = (
4380 ("managed", {"managed": True}),
4381 ("unmanaged", {"managed": False}),
4382diff --git a/src/maasserver/models/tests/test_vlan.py b/src/maasserver/models/tests/test_vlan.py
4383index 5ba254d..1bb8bdb 100644
4384--- a/src/maasserver/models/tests/test_vlan.py
4385+++ b/src/maasserver/models/tests/test_vlan.py
4386@@ -231,7 +231,6 @@ class TestVLAN(MAASServerTestCase):
4387
4388
4389 class TestVLANVidValidation(MAASServerTestCase):
4390-
4391 scenarios = [
4392 ("0", {"vid": 0, "valid": True}),
4393 ("12", {"vid": 12, "valid": True}),
4394@@ -263,7 +262,6 @@ class TestVLANVidValidation(MAASServerTestCase):
4395
4396
4397 class TestVLANMTUValidation(MAASServerTestCase):
4398-
4399 scenarios = [
4400 ("551", {"mtu": 551, "valid": False}),
4401 ("552", {"mtu": 552, "valid": True}),
4402diff --git a/src/maasserver/models/virtualblockdevice.py b/src/maasserver/models/virtualblockdevice.py
4403index 250f778..4ac1097 100644
4404--- a/src/maasserver/models/virtualblockdevice.py
4405+++ b/src/maasserver/models/virtualblockdevice.py
4406@@ -84,7 +84,6 @@ class VirtualBlockDevice(BlockDevice):
4407 # Check if the size of this is not larger than the free size of
4408 # its filesystem group if its lvm.
4409 if self.filesystem_group.is_lvm():
4410-
4411 # align virtual partition to partition alignment size
4412 # otherwise on creation it may be rounded up, overfilling group
4413 self.size = round_size_to_nearest_block(
4414diff --git a/src/maasserver/models/virtualmachine.py b/src/maasserver/models/virtualmachine.py
4415index 9db0bae..55c7900 100644
4416--- a/src/maasserver/models/virtualmachine.py
4417+++ b/src/maasserver/models/virtualmachine.py
4418@@ -353,7 +353,6 @@ class VMHostResources:
4419
4420 @dataclass
4421 class VMHostUsedResources:
4422-
4423 cores: int
4424 memory: int
4425 hugepages_memory: int
4426diff --git a/src/maasserver/node_constraint_filter_forms.py b/src/maasserver/node_constraint_filter_forms.py
4427index 5128c1f..091d6fa 100644
4428--- a/src/maasserver/node_constraint_filter_forms.py
4429+++ b/src/maasserver/node_constraint_filter_forms.py
4430@@ -1315,7 +1315,6 @@ class AcquireNodeForm(FilterNodeForm):
4431
4432
4433 class ReadNodesForm(FilterNodeForm):
4434-
4435 id = UnconstrainedMultipleChoiceField(
4436 label="System IDs to filter on", required=False
4437 )
4438@@ -1431,7 +1430,6 @@ class ReadNodesForm(FilterNodeForm):
4439
4440
4441 class FreeTextFilterNodeForm(ReadNodesForm):
4442-
4443 free_text = UnconstrainedMultipleChoiceField(
4444 label="Free-text search on all string fields",
4445 required=False,
4446@@ -1861,7 +1859,7 @@ class FreeTextFilterNodeForm(ReadNodesForm):
4447 def filter_by_storage(self, filtered_nodes):
4448 storage = self.cleaned_data.get("storage")
4449 node_ids = []
4450- for (size, tags) in storage:
4451+ for size, tags in storage:
4452 if "partition" in tags:
4453 part_tags = list(tags)
4454 part_tags.remove("partition")
4455diff --git a/src/maasserver/preseed.py b/src/maasserver/preseed.py
4456index 4c2f2e1..35713f8 100644
4457--- a/src/maasserver/preseed.py
4458+++ b/src/maasserver/preseed.py
4459@@ -607,7 +607,6 @@ def get_curtin_config(request, node, base_osystem=None, base_series=None):
4460
4461 @attr.s(auto_attribs=True)
4462 class PackageManager:
4463-
4464 package_tool: str
4465 deps: typing.List[str]
4466
4467diff --git a/src/maasserver/regiondservices/ntp.py b/src/maasserver/regiondservices/ntp.py
4468index f2a57d8..ee9e2a4 100644
4469--- a/src/maasserver/regiondservices/ntp.py
4470+++ b/src/maasserver/regiondservices/ntp.py
4471@@ -24,7 +24,6 @@ log = LegacyLogger()
4472
4473
4474 class RegionNetworkTimeProtocolService(TimerService):
4475-
4476 interval = timedelta(seconds=30).total_seconds()
4477
4478 _configuration = None
4479diff --git a/src/maasserver/regiondservices/syslog.py b/src/maasserver/regiondservices/syslog.py
4480index 9e50306..61bd0a7 100644
4481--- a/src/maasserver/regiondservices/syslog.py
4482+++ b/src/maasserver/regiondservices/syslog.py
4483@@ -25,7 +25,6 @@ log = LegacyLogger()
4484
4485
4486 class RegionSyslogService(TimerService):
4487-
4488 interval = timedelta(seconds=30).total_seconds()
4489
4490 _configuration = None
4491diff --git a/src/maasserver/release_notifications.py b/src/maasserver/release_notifications.py
4492index f5acc12..6046032 100644
4493--- a/src/maasserver/release_notifications.py
4494+++ b/src/maasserver/release_notifications.py
4495@@ -50,7 +50,6 @@ def notification_available(notification_version):
4496
4497 @transactional
4498 def ensure_notification_exists(message, resurface_after=RESURFACE_AFTER):
4499-
4500 notification, created = Notification.objects.get_or_create(
4501 ident=RELEASE_NOTIFICATION_IDENT,
4502 defaults={
4503@@ -99,7 +98,6 @@ class ReleaseNotifications:
4504 @asynchronous
4505 @inlineCallbacks
4506 def check_notifications(self, notifications_enabled):
4507-
4508 if not notifications_enabled:
4509 maaslog.debug("Release notifications are disabled")
4510 # Notifications are disabled, we can delete any that currently exist.
4511diff --git a/src/maasserver/testing/commissioning.py b/src/maasserver/testing/commissioning.py
4512index 4657009..b24c9d6 100644
4513--- a/src/maasserver/testing/commissioning.py
4514+++ b/src/maasserver/testing/commissioning.py
4515@@ -50,7 +50,6 @@ class LXDBond:
4516
4517 @dataclasses.dataclass
4518 class LXDAddress:
4519-
4520 address: str
4521 netmask: str
4522 family: str = "inet"
4523@@ -71,7 +70,6 @@ class LXDNetwork:
4524
4525 @dataclasses.dataclass
4526 class LXDNetworkPort:
4527-
4528 id: str
4529 port: int
4530 address: str = dataclasses.field(default_factory=factory.make_mac_address)
4531diff --git a/src/maasserver/testing/factory.py b/src/maasserver/testing/factory.py
4532index 521f706..e78b84b 100644
4533--- a/src/maasserver/testing/factory.py
4534+++ b/src/maasserver/testing/factory.py
4535@@ -3259,7 +3259,6 @@ class Factory(maastesting.factory.Factory):
4536 category=None,
4537 dismissable=True,
4538 ):
4539-
4540 if context is None:
4541 context_name = self.make_name("name")
4542 context = {context_name: self.make_name("value")}
4543diff --git a/src/maasserver/testing/sampledata/rackcontroller.py b/src/maasserver/testing/sampledata/rackcontroller.py
4544index 0d3aa5b..0bde47d 100644
4545--- a/src/maasserver/testing/sampledata/rackcontroller.py
4546+++ b/src/maasserver/testing/sampledata/rackcontroller.py
4547@@ -27,7 +27,6 @@ def make_rackcontroller_infos(count: int, hostname_prefix: str):
4548 def make_rackcontrollers(
4549 rackcontroller_infos: List[FakeCommissioningData], tags: List[Tag]
4550 ):
4551-
4552 rackcontrollers = []
4553 running_version = version.get_running_version()
4554
4555diff --git a/src/maasserver/testing/sampledata/vmhost.py b/src/maasserver/testing/sampledata/vmhost.py
4556index 3f1589c..43ca647 100644
4557--- a/src/maasserver/testing/sampledata/vmhost.py
4558+++ b/src/maasserver/testing/sampledata/vmhost.py
4559@@ -6,7 +6,6 @@ from .common import make_name
4560
4561
4562 def make_vmhosts(count: int):
4563-
4564 power_types = cycle(("virsh", "lxd"))
4565 vmhosts = []
4566
4567diff --git a/src/maasserver/testing/testcase.py b/src/maasserver/testing/testcase.py
4568index 143a288..530eaa0 100644
4569--- a/src/maasserver/testing/testcase.py
4570+++ b/src/maasserver/testing/testcase.py
4571@@ -226,6 +226,7 @@ class SerializationFailureTestCase(
4572
4573 def cause_serialization_failure(self):
4574 """Trigger an honest, from the database, serialization failure."""
4575+
4576 # Helper to switch the transaction to SERIALIZABLE.
4577 def set_serializable():
4578 with connection.cursor() as cursor:
4579@@ -346,6 +347,7 @@ class UniqueViolationTestCase(
4580 ought to tell us about it.
4581
4582 """
4583+
4584 # Helper to switch the transaction to REPEATABLE READ.
4585 def set_repeatable_read():
4586 with connection.cursor() as cursor:
4587diff --git a/src/maasserver/tests/test_compose_preseed.py b/src/maasserver/tests/test_compose_preseed.py
4588index a010af8..eecd7a7 100644
4589--- a/src/maasserver/tests/test_compose_preseed.py
4590+++ b/src/maasserver/tests/test_compose_preseed.py
4591@@ -66,7 +66,6 @@ def _enable_dhcp(subnet, primary_rack, secondary_rack=None, relay_vlan=None):
4592
4593
4594 class TestAptProxyScenarios(MAASServerTestCase):
4595-
4596 scenarios = (
4597 (
4598 "ipv6",
4599@@ -356,7 +355,6 @@ class TestAptProxy(MAASServerTestCase):
4600 self.assertEqual("http://10.10.0.2:8000/", apt_proxy)
4601
4602 def test_enlist_rack_proxy_no_rack_subnet(self):
4603-
4604 Config.objects.set_config("enable_http_proxy", True)
4605 Config.objects.set_config("use_peer_proxy", False)
4606 Config.objects.set_config("use_rack_proxy", True)
4607diff --git a/src/maasserver/tests/test_fields.py b/src/maasserver/tests/test_fields.py
4608index dee3717..1f14e3b 100644
4609--- a/src/maasserver/tests/test_fields.py
4610+++ b/src/maasserver/tests/test_fields.py
4611@@ -103,7 +103,6 @@ class TestMACAddressField(MAASServerTestCase):
4612
4613
4614 class TestXMLField(MAASLegacyServerTestCase):
4615-
4616 apps = ["maasserver.tests"]
4617
4618 def test_loads_string(self):
4619@@ -149,7 +148,6 @@ class TestEditableBinaryField(MAASServerTestCase):
4620
4621
4622 class TestLargeObjectField(MAASLegacyServerTestCase):
4623-
4624 apps = ["maasserver.tests"]
4625
4626 def test_stores_data(self):
4627@@ -267,7 +265,6 @@ class TestLargeObjectField(MAASLegacyServerTestCase):
4628
4629
4630 class TestCIDRField(MAASLegacyServerTestCase):
4631-
4632 apps = ["maasserver.tests"]
4633
4634 def test_stores_cidr(self):
4635@@ -290,7 +287,6 @@ class TestCIDRField(MAASLegacyServerTestCase):
4636
4637
4638 class TestIPv4CIDRField(MAASLegacyServerTestCase):
4639-
4640 apps = ["maasserver.tests"]
4641
4642 def test_stores_cidr(self):
4643diff --git a/src/maasserver/tests/test_ipc.py b/src/maasserver/tests/test_ipc.py
4644index 78355bc..89f135d 100644
4645--- a/src/maasserver/tests/test_ipc.py
4646+++ b/src/maasserver/tests/test_ipc.py
4647@@ -72,7 +72,6 @@ class TestGetIPCSocketPath(MAASTestCase):
4648
4649
4650 class TestIPCCommunication(MAASTransactionServerTestCase):
4651-
4652 run_tests_with = MAASCrochetRunTest
4653
4654 def setUp(self):
4655diff --git a/src/maasserver/tests/test_node_action.py b/src/maasserver/tests/test_node_action.py
4656index c30a7ab..f0d7a1a 100644
4657--- a/src/maasserver/tests/test_node_action.py
4658+++ b/src/maasserver/tests/test_node_action.py
4659@@ -329,7 +329,6 @@ class TestDeleteAction(MAASServerTestCase):
4660
4661
4662 class TestCommissionAction(MAASServerTestCase):
4663-
4664 scenarios = (
4665 ("NEW", {"status": NODE_STATUS.NEW}),
4666 ("FAILED_COMMISSIONING", {"status": NODE_STATUS.FAILED_COMMISSIONING}),
4667@@ -1383,7 +1382,6 @@ ACTIONABLE_STATUSES = [
4668
4669
4670 class TestReleaseAction(MAASServerTestCase):
4671-
4672 scenarios = [
4673 (NODE_STATUS_CHOICES_DICT[status], dict(actionable_status=status))
4674 for status in ACTIONABLE_STATUSES
4675diff --git a/src/maasserver/tests/test_node_constraint_filter_forms.py b/src/maasserver/tests/test_node_constraint_filter_forms.py
4676index f5dde8e..2414112 100644
4677--- a/src/maasserver/tests/test_node_constraint_filter_forms.py
4678+++ b/src/maasserver/tests/test_node_constraint_filter_forms.py
4679@@ -181,7 +181,6 @@ class TestUtils(MAASServerTestCase):
4680
4681
4682 class FilterConstraintsMixin:
4683-
4684 form_class = None # set in subclasses
4685
4686 def assertConstrainedNodes(self, nodes, data):
4687@@ -203,7 +202,6 @@ def create_unique_node_device_needle(needle_name, needle_factory):
4688
4689
4690 class TestFilterNodeForm(MAASServerTestCase, FilterConstraintsMixin):
4691-
4692 form_class = FilterNodeForm
4693
4694 def set_usable_arch(self):
4695@@ -2010,7 +2008,6 @@ class TestFreeTextFilterNodeForm(MAASServerTestCase):
4696
4697
4698 class TestAcquireNodeForm(MAASServerTestCase, FilterConstraintsMixin):
4699-
4700 form_class = AcquireNodeForm
4701
4702 def set_usable_arch(self):
4703@@ -2332,7 +2329,6 @@ class TestAcquireNodeFormOrdersResults(MAASServerTestCase):
4704
4705
4706 class TestReadNodesForm(MAASServerTestCase, FilterConstraintsMixin):
4707-
4708 form_class = ReadNodesForm
4709
4710 def test_system_ids(self):
4711diff --git a/src/maasserver/tests/test_preseed_network.py b/src/maasserver/tests/test_preseed_network.py
4712index a1d5a72..2737d7b 100644
4713--- a/src/maasserver/tests/test_preseed_network.py
4714+++ b/src/maasserver/tests/test_preseed_network.py
4715@@ -38,7 +38,6 @@ from provisioningserver.utils.network import get_source_address
4716
4717
4718 class AssertNetworkConfigMixin:
4719-
4720 # MAC addresses are quoted because unquoted all-numeric MAC addresses —
4721 # e.g. 12:34:56:78:90:12 — are interpreted as *integers* by PyYAML. This
4722 # edge-case took some time to figure out, and begs the question: why is
4723@@ -324,7 +323,6 @@ class AssertNetworkConfigMixin:
4724
4725
4726 class TestSingleAddrFamilyLayout(MAASServerTestCase, AssertNetworkConfigMixin):
4727-
4728 scenarios = (("ipv4", {"version": 4}), ("ipv6", {"version": 6}))
4729
4730 def test_renders_expected_output(self):
4731@@ -471,7 +469,6 @@ class TestVLANOnBondNetworkLayout(
4732
4733
4734 class TestDHCPNetworkLayout(MAASServerTestCase, AssertNetworkConfigMixin):
4735-
4736 scenarios = (("ipv4", {"ip_version": 4}), ("ipv6", {"ip_version": 6}))
4737
4738 def test_dhcp_configurations_rendered(self):
4739diff --git a/src/maasserver/tests/test_preseed_storage.py b/src/maasserver/tests/test_preseed_storage.py
4740index 65fbec5..789fc86 100644
4741--- a/src/maasserver/tests/test_preseed_storage.py
4742+++ b/src/maasserver/tests/test_preseed_storage.py
4743@@ -83,7 +83,6 @@ class AssertStorageConfigMixin:
4744
4745
4746 class TestSpecialFilesystems(MAASServerTestCase, AssertStorageConfigMixin):
4747-
4748 STORAGE_CONFIG = dedent(
4749 """\
4750 config:
4751@@ -136,7 +135,6 @@ class TestSpecialFilesystems(MAASServerTestCase, AssertStorageConfigMixin):
4752
4753
4754 class TestExt4MetadataCSUM(MAASServerTestCase, AssertStorageConfigMixin):
4755-
4756 STORAGE_CONFIG = dedent(
4757 """\
4758 config:
4759@@ -207,7 +205,6 @@ class TestExt4MetadataCSUM(MAASServerTestCase, AssertStorageConfigMixin):
4760
4761
4762 class TestSimpleGPTLayout(MAASServerTestCase, AssertStorageConfigMixin):
4763-
4764 STORAGE_CONFIG = dedent(
4765 """\
4766 config:
4767@@ -377,7 +374,6 @@ class TestSimpleGPTLayout(MAASServerTestCase, AssertStorageConfigMixin):
4768
4769
4770 class TestSimpleMBRLayout(MAASServerTestCase, AssertStorageConfigMixin):
4771-
4772 STORAGE_CONFIG = dedent(
4773 """\
4774 config:
4775@@ -589,7 +585,6 @@ class TestSimpleMBRLayout(MAASServerTestCase, AssertStorageConfigMixin):
4776 class TestSimpleWithEmptyDiskLayout(
4777 MAASServerTestCase, AssertStorageConfigMixin
4778 ):
4779-
4780 STORAGE_CONFIG = dedent(
4781 """\
4782 config:
4783@@ -671,7 +666,6 @@ class TestSimpleWithEmptyDiskLayout(
4784 class TestMBRWithBootDiskWithoutPartitionsLayout(
4785 MAASServerTestCase, AssertStorageConfigMixin
4786 ):
4787-
4788 STORAGE_CONFIG = dedent(
4789 """\
4790 config:
4791@@ -756,7 +750,6 @@ class TestMBRWithBootDiskWithoutPartitionsLayout(
4792 class TestGPTWithBootDiskWithoutPartitionsLayout(
4793 MAASServerTestCase, AssertStorageConfigMixin
4794 ):
4795-
4796 STORAGE_CONFIG = dedent(
4797 """\
4798 config:
4799@@ -851,7 +844,6 @@ class TestGPTWithBootDiskWithoutPartitionsLayout(
4800 class TestGPTPXELargeBootDiskLayout(
4801 MAASServerTestCase, AssertStorageConfigMixin
4802 ):
4803-
4804 STORAGE_CONFIG = dedent(
4805 """\
4806 config:
4807@@ -935,7 +927,6 @@ class TestGPTPXELargeBootDiskLayout(
4808
4809
4810 class TestLVMOnlyVG(MAASServerTestCase, AssertStorageConfigMixin):
4811-
4812 STORAGE_CONFIG = dedent(
4813 """\
4814 config:
4815@@ -998,7 +989,6 @@ class TestLVMOnlyVG(MAASServerTestCase, AssertStorageConfigMixin):
4816
4817
4818 class TestComplexDiskLayout(MAASServerTestCase, AssertStorageConfigMixin):
4819-
4820 STORAGE_CONFIG = dedent(
4821 """\
4822 config:
4823@@ -1352,7 +1342,6 @@ class TestComplexDiskLayout(MAASServerTestCase, AssertStorageConfigMixin):
4824
4825
4826 class TestSimplePower8Layout(MAASServerTestCase, AssertStorageConfigMixin):
4827-
4828 STORAGE_CONFIG = dedent(
4829 """\
4830 config:
4831@@ -1435,7 +1424,6 @@ class TestSimplePower8Layout(MAASServerTestCase, AssertStorageConfigMixin):
4832
4833
4834 class TestPower8ExtraSpaceLayout(MAASServerTestCase, AssertStorageConfigMixin):
4835-
4836 STORAGE_CONFIG = dedent(
4837 """\
4838 config:
4839@@ -1516,7 +1504,6 @@ class TestPower8ExtraSpaceLayout(MAASServerTestCase, AssertStorageConfigMixin):
4840 class TestPower8NoPartitionTableLayout(
4841 MAASServerTestCase, AssertStorageConfigMixin
4842 ):
4843-
4844 STORAGE_CONFIG = dedent(
4845 """\
4846 config:
4847@@ -1675,7 +1662,6 @@ class TestMountOrdering(MAASServerTestCase):
4848
4849
4850 class TestBootableRaidLayoutMBR(MAASServerTestCase, AssertStorageConfigMixin):
4851-
4852 STORAGE_CONFIG = dedent(
4853 """\
4854 config:
4855@@ -1819,7 +1805,6 @@ class TestBootableRaidLayoutMBR(MAASServerTestCase, AssertStorageConfigMixin):
4856
4857
4858 class TestBootableRaidLayoutUEFI(MAASServerTestCase, AssertStorageConfigMixin):
4859-
4860 STORAGE_CONFIG = dedent(
4861 """\
4862 config:
4863@@ -1947,7 +1932,6 @@ class TestBootableRaidLayoutUEFI(MAASServerTestCase, AssertStorageConfigMixin):
4864
4865
4866 class TestBootableRaidLayoutGPT(MAASServerTestCase, AssertStorageConfigMixin):
4867-
4868 STORAGE_CONFIG = dedent(
4869 """\
4870 config:
4871@@ -2097,7 +2081,6 @@ class TestBootableRaidLayoutGPT(MAASServerTestCase, AssertStorageConfigMixin):
4872 class TestBootableRaidLayoutGPTWithPartition(
4873 MAASServerTestCase, AssertStorageConfigMixin
4874 ):
4875-
4876 STORAGE_CONFIG = dedent(
4877 """\
4878 config:
4879@@ -2265,7 +2248,6 @@ class TestBootableRaidLayoutGPTWithPartition(
4880
4881
4882 class TestVMFS(MAASServerTestCase, AssertStorageConfigMixin):
4883-
4884 STORAGE_CONFIG = dedent(
4885 """\
4886 config:
4887diff --git a/src/maasserver/tests/test_stats.py b/src/maasserver/tests/test_stats.py
4888index f70a6a0..7a33d87 100644
4889--- a/src/maasserver/tests/test_stats.py
4890+++ b/src/maasserver/tests/test_stats.py
4891@@ -870,7 +870,6 @@ class TestGetBrownfieldStats(MAASServerTestCase):
4892 machine.bmc = factory.make_BMC()
4893 machine.save()
4894 for _ in range(2):
4895-
4896 machine = self._make_brownfield_machine()
4897 machine.bmc = None
4898 machine.save()
4899diff --git a/src/maasserver/tests/test_status_monitor.py b/src/maasserver/tests/test_status_monitor.py
4900index c023015..69bc499 100644
4901--- a/src/maasserver/tests/test_status_monitor.py
4902+++ b/src/maasserver/tests/test_status_monitor.py
4903@@ -78,7 +78,6 @@ class TestMarkNodesFailedAfterExpiring(MAASServerTestCase):
4904
4905
4906 class TestMarkNodesFailedAfterMissingScriptTimeout(MAASServerTestCase):
4907-
4908 scenarios = (
4909 (
4910 "commissioning",
4911diff --git a/src/maasserver/tests/test_vmhost.py b/src/maasserver/tests/test_vmhost.py
4912index dc05a54..ac4abb9 100644
4913--- a/src/maasserver/tests/test_vmhost.py
4914+++ b/src/maasserver/tests/test_vmhost.py
4915@@ -208,7 +208,6 @@ class TestDiscoverAndSyncVMHost(MAASServerTestCase):
4916
4917
4918 class TestDiscoverAndSyncVMHostAsync(MAASTransactionServerTestCase):
4919-
4920 wait_for_reactor = wait_for()
4921
4922 @wait_for_reactor
4923@@ -307,7 +306,7 @@ class TestCleanPowerAddress(MAASServerTestCase):
4924 "qemu+ssh://10.0.0.1:2200/system",
4925 ),
4926 ]
4927- for (case, output) in cases:
4928+ for case, output in cases:
4929 ret = vmhost_module._clean_power_address(case)
4930 self.assertEqual(output, ret)
4931
4932@@ -703,7 +702,6 @@ class TestSyncVMCluster(MAASServerTestCase):
4933
4934
4935 class TestSyncVMClusterAsync(MAASTransactionServerTestCase):
4936-
4937 wait_for_reactor = wait_for()
4938
4939 @wait_for_reactor
4940@@ -1063,7 +1061,6 @@ class TestSyncVMClusterAsync(MAASTransactionServerTestCase):
4941
4942
4943 class TestRequestCommissioningResults(MAASTransactionServerTestCase):
4944-
4945 wait_for_reactor = wait_for()
4946
4947 @wait_for_reactor
4948diff --git a/src/maasserver/triggers/testing.py b/src/maasserver/triggers/testing.py
4949index 551ef4d..3e6fa68 100644
4950--- a/src/maasserver/triggers/testing.py
4951+++ b/src/maasserver/triggers/testing.py
4952@@ -945,7 +945,6 @@ class RBACHelpersMixin:
4953
4954
4955 class NotifyHelperMixin:
4956-
4957 channels = ()
4958 channel_queues = {}
4959 postgres_listener_service = None
4960diff --git a/src/maasserver/triggers/tests/test_websocket_listener.py b/src/maasserver/triggers/tests/test_websocket_listener.py
4961index 277fce2..90ea0a7 100644
4962--- a/src/maasserver/triggers/tests/test_websocket_listener.py
4963+++ b/src/maasserver/triggers/tests/test_websocket_listener.py
4964@@ -915,7 +915,6 @@ class TestNodeTagListener(
4965 class TestOwnerDataTriggers(
4966 MAASTransactionServerTestCase, TransactionalHelpersMixin
4967 ):
4968-
4969 scenarios = (
4970 (
4971 "machine",
4972@@ -4347,7 +4346,6 @@ class TestIPRangeSubnetListener(
4973 class TestBMCListener(
4974 MAASTransactionServerTestCase, TransactionalHelpersMixin
4975 ):
4976-
4977 scenarios = (
4978 (
4979 "machine",
4980@@ -4656,7 +4654,6 @@ class TestPodListener(
4981 @wait_for_reactor
4982 @inlineCallbacks
4983 def test_calls_handler_on_create_notification(self):
4984-
4985 listener = self.make_listener_without_delay()
4986 dv = DeferredValue()
4987 listener.register("pod", lambda *args: dv.set(args))
4988diff --git a/src/maasserver/triggers/websocket.py b/src/maasserver/triggers/websocket.py
4989index 18e6202..08acb6a 100644
4990--- a/src/maasserver/triggers/websocket.py
4991+++ b/src/maasserver/triggers/websocket.py
4992@@ -1653,7 +1653,7 @@ node_fields = (
4993 @transactional
4994 def register_websocket_triggers():
4995 """Register all websocket triggers into the database."""
4996- for (proc_name_prefix, event_name_prefix, node_type) in (
4997+ for proc_name_prefix, event_name_prefix, node_type in (
4998 ("machine", "machine", NODE_TYPE.MACHINE),
4999 ("rack_controller", "controller", NODE_TYPE.RACK_CONTROLLER),
5000 ("region_controller", "controller", NODE_TYPE.REGION_CONTROLLER),
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches