$ ruff check .
redfish_utilities/__init__.py:6:23: F401 `.accounts.get_users` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:7:23: F401 `.accounts.print_users` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:8:23: F401 `.accounts.add_user` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:9:23: F401 `.accounts.delete_user` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:10:23: F401 `.accounts.modify_user` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:11:23: F401 `.assembly.get_assembly` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:12:23: F401 `.assembly.print_assembly` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:13:23: F401 `.assembly.download_assembly` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:14:23: F401 `.assembly.upload_assembly` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:15:27: F401 `.certificates.get_all_certificates` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:16:27: F401 `.certificates.print_certificates` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:17:27: F401 `.certificates.get_generate_csr_info` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:18:27: F401 `.certificates.generate_csr` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:19:27: F401 `.certificates.install_certificate` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:20:27: F401 `.certificates.delete_certificate` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:21:28: F401 `.event_service.get_event_service` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:22:28: F401 `.event_service.print_event_service` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:23:28: F401 `.event_service.get_event_subscriptions` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:24:28: F401 `.event_service.print_event_subscriptions` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:25:28: F401 `.event_service.create_event_subscription` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:26:28: F401 `.event_service.delete_event_subscription` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:27:24: F401 `.inventory.get_system_inventory` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:28:24: F401 `.inventory.print_system_inventory` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:29:24: F401 `.inventory.write_system_inventory` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:30:23: F401 `.licenses.get_licenses` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:31:23: F401 `.licenses.print_licenses` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:32:23: F401 `.licenses.install_license` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:33:23: F401 `.licenses.delete_license` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:34:19: F401 `.logs.log_container` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:35:19: F401 `.logs.diagnostic_data_types` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:36:19: F401 `.logs.get_log_entries` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:37:19: F401 `.logs.print_log_entries` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:38:19: F401 `.logs.clear_log_entries` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:39:19: F401 `.logs.collect_diagnostic_data` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:40:19: F401 `.logs.download_diagnostic_data` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:41:23: F401 `.managers.get_manager_ids` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:42:23: F401 `.managers.get_manager` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:43:23: F401 `.managers.set_manager` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:44:23: F401 `.managers.print_manager` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:45:23: F401 `.managers.get_manager_reset_info` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:46:23: F401 `.managers.manager_reset` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:47:23: F401 `.managers.get_manager_reset_to_defaults_info` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:48:23: F401 `.managers.manager_reset_to_defaults` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:49:23: F401 `.managers.get_manager_network_protocol` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:50:23: F401 `.managers.set_manager_network_protocol` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:51:23: F401 `.managers.print_manager_network_protocol` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:52:23: F401 `.managers.get_manager_ethernet_interface_ids` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:53:23: F401 `.managers.get_manager_ethernet_interface` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:54:23: F401 `.managers.set_manager_ethernet_interface` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:55:23: F401 `.managers.print_manager_ethernet_interface` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:56:23: F401 `.messages.print_error_payload` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:57:23: F401 `.messages.verify_response` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:58:30: F401 `.power_equipment.power_equipment_types` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:59:30: F401 `.power_equipment.power_equipment_electrical_types` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:60:30: F401 `.power_equipment.get_power_equipment_ids` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:61:30: F401 `.power_equipment.get_power_equipment` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:62:30: F401 `.power_equipment.print_power_equipment` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:63:30: F401 `.power_equipment.get_power_equipment_summary` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:64:30: F401 `.power_equipment.print_power_equipment_summary` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:65:30: F401 `.power_equipment.get_power_equipment_electrical` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:66:30: F401 `.power_equipment.print_power_equipment_electrical` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:67:30: F401 `.power_equipment.print_power_equipment_electrical_summary` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:68:21: F401 `.resets.reset_types` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:69:21: F401 `.resets.reset_to_defaults_types` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:70:22: F401 `.sensors.get_sensors` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:71:22: F401 `.sensors.print_sensors` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:72:22: F401 `.systems.get_system_ids` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:73:22: F401 `.systems.get_system` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:74:22: F401 `.systems.get_system_boot` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:75:22: F401 `.systems.set_system_boot` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:76:22: F401 `.systems.print_system_boot` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:77:22: F401 `.systems.get_system_reset_info` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:78:22: F401 `.systems.system_reset` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:79:22: F401 `.systems.get_virtual_media` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:80:22: F401 `.systems.print_virtual_media` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:81:22: F401 `.systems.insert_virtual_media` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:82:22: F401 `.systems.eject_virtual_media` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:83:22: F401 `.systems.get_system_bios` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:84:22: F401 `.systems.set_system_bios` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:85:22: F401 `.systems.print_system_bios` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:86:20: F401 `.tasks.poll_task_monitor` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:87:21: F401 `.update.operation_apply_times` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:88:21: F401 `.update.get_update_service` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:89:21: F401 `.update.get_simple_update_info` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:90:21: F401 `.update.simple_update` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:91:21: F401 `.update.multipart_push_update` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/__init__.py:92:1: F403 `from .misc import *` used; unable to detect undefined names
redfish_utilities/__init__.py:94:15: F401 `.config` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
redfish_utilities/accounts.py:60:47: E712 Avoid equality comparisons to `False`; use `if not account_info["Enabled"]:` for false checks
redfish_utilities/certificates.py:15:8: F401 [*] `os` imported but unused
redfish_utilities/inventory.py:45:5: E722 Do not use bare `except`
redfish_utilities/inventory.py:71:9: E722 Do not use bare `except`
redfish_utilities/inventory.py:98:13: E722 Do not use bare `except`
redfish_utilities/inventory.py:122:9: E722 Do not use bare `except`
redfish_utilities/inventory.py:216:5: E722 Do not use bare `except`
redfish_utilities/inventory.py:220:5: E722 Do not use bare `except`
redfish_utilities/messages.py:15:1: F403 `from redfish.messages import *` used; unable to detect undefined names
redfish_utilities/messages.py:26:27: F405 `get_messages_detail` may be undefined, or defined from star imports
redfish_utilities/messages.py:27:28: F405 `get_error_messages` may be undefined, or defined from star imports
redfish_utilities/messages.py:28:24: F405 `search_message` may be undefined, or defined from star imports
redfish_utilities/messages.py:29:16: E714 [*] Test for object identity should be `is not`
redfish_utilities/messages.py:30:19: F405 `RedfishPasswordChangeRequiredError` may be undefined, or defined from star imports
redfish_utilities/messages.py:32:19: F405 `RedfishOperationFailedError` may be undefined, or defined from star imports
redfish_utilities/messages.py:45:16: F405 `get_error_messages` may be undefined, or defined from star imports
redfish_utilities/messages.py:46:5: E722 Do not use bare `except`
redfish_utilities/misc.py:14:8: F401 [*] `sys` imported but unused
redfish_utilities/misc.py:28:29: F841 [*] Local variable `e` is assigned to but never used
redfish_utilities/systems.py:472:13: E722 Do not use bare `except`
redfish_utilities/systems.py:517:13: E722 Do not use bare `except`
redfish_utilities/systems.py:596:9: E722 Do not use bare `except`
redfish_utilities/systems.py:665:13: E722 Do not use bare `except`
redfish_utilities/tasks.py:44:9: E722 Do not use bare `except`
redfish_utilities/update.py:18:8: F401 [*] `math` imported but unused
scripts/rf_accounts.py:76:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_assembly.py:54:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_assembly.py:57:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_bios_settings.py:48:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_bios_settings.py:51:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_bios_settings.py:75:21: E722 Do not use bare `except`
scripts/rf_boot_override.py:59:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_boot_override.py:62:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_certificates.py:65:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_certificates.py:68:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_diagnostic_data.py:43:4: E712 Avoid inequality comparisons to `False`; use `if args.manager:` for truth checks
scripts/rf_diagnostic_data.py:46:6: E712 Avoid inequality comparisons to `False`; use `if args.system:` for truth checks
scripts/rf_diagnostic_data.py:49:6: E712 Avoid inequality comparisons to `False`; use `if args.chassis:` for truth checks
scripts/rf_diagnostic_data.py:64:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_diagnostic_data.py:67:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_discover.py:42:5: E722 Do not use bare `except`
scripts/rf_event_service.py:54:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_event_service.py:57:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_licenses.py:49:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_licenses.py:52:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_logs.py:41:4: E712 Avoid inequality comparisons to `False`; use `if args.manager:` for truth checks
scripts/rf_logs.py:44:6: E712 Avoid inequality comparisons to `False`; use `if args.system:` for truth checks
scripts/rf_logs.py:47:6: E712 Avoid inequality comparisons to `False`; use `if args.chassis:` for truth checks
scripts/rf_logs.py:62:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_logs.py:65:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_manager_config.py:74:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_manager_config.py:77:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_power_equipment.py:62:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_power_equipment.py:65:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_power_reset.py:45:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_power_reset.py:48:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_raw_request.py:20:8: F401 [*] `re` imported but unused
scripts/rf_raw_request.py:63:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_raw_request.py:66:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_raw_request.py:78:5: E722 Do not use bare `except`
scripts/rf_raw_request.py:112:5: E722 Do not use bare `except`
scripts/rf_sensor_list.py:44:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_sensor_list.py:47:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_sys_inventory.py:50:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_sys_inventory.py:53:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_update.py:49:5: E722 Do not use bare `except`
scripts/rf_update.py:76:5: E722 Do not use bare `except`
scripts/rf_update.py:105:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_update.py:108:21: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_update.py:169:5: E722 Do not use bare `except`
scripts/rf_virtual_media.py:53:46: F841 [*] Local variable `e` is assigned to but never used
scripts/rf_virtual_media.py:56:21: F841 [*] Local variable `e` is assigned to but never used
setup.py:9:8: F401 [*] `sys` imported but unused
Found 161 errors.
[*] 40 fixable with the `--fix` option (7 hidden fixes can be enabled with the `--unsafe-fixes` option).