Apply "Ruff-specific rules (RUF)" ruff rule set

This commit is contained in:
Adam Goldsmith 2024-11-22 10:36:58 -05:00
parent 8d30e89072
commit 79877e0303
2 changed files with 43 additions and 42 deletions

View File

@ -62,6 +62,7 @@ lint.select = [
"PTH", "PTH",
"Q", "Q",
"RSE", "RSE",
"RUF",
"SIM", "SIM",
"T20", "T20",
"TCH", "TCH",

View File

@ -77,69 +77,69 @@ from ._visitor import (
__all__ = [ __all__ = [
"AccessPolicy", "AccessPolicy",
"AccessPolicyId",
"ActorId",
"Device",
"DeviceId",
"Door",
"DoorEmergencyStatus",
"DoorGroup",
"DoorGroupId",
"DoorGroupResource",
"DoorGroupTopology",
"DoorGroupType",
"DoorId",
"DoorLockingRule",
"DoorLockingRuleType",
"DoorResource",
"EnrollNfcCardResponse",
"FetchAllHolidayGroupsResponse", "FetchAllHolidayGroupsResponse",
"FetchAllSchedulesResponse", "FetchAllSchedulesResponse",
"FetchAllVisitorsExpansion",
"FloorId",
"FullUser",
"Holiday", "Holiday",
"HolidayGroup", "HolidayGroup",
"PartialHoliday",
"Schedule",
"PartialSchedule",
"TimePeriod",
"WeekSchedule",
"AccessPolicyId",
"DoorId",
"FloorId",
"DoorGroupId",
"ResourceId",
"ScheduleId",
"UserId",
"UserGroupId",
"VisitorId",
"NfcCardId",
"HolidayId",
"HolidayGroupId", "HolidayGroupId",
"DeviceId", "HolidayId",
"NfcCardEnrollmentSessionId", "IdentityInvitationEmailFailure",
"NfcCardToken", "IdentityInvitationUser",
"ActorId", "IdentityResourceType",
"Resource",
"NamedResource",
"NamedResourceWithIsBindHub",
"DoorGroupResource",
"DoorResource",
"NamedDoorGroupResource", "NamedDoorGroupResource",
"NamedDoorGroupResourceWithIsBindHub", "NamedDoorGroupResourceWithIsBindHub",
"NamedDoorResource", "NamedDoorResource",
"NamedDoorResourceWithIsBindHub", "NamedDoorResourceWithIsBindHub",
"PinCode", "NamedResource",
"EnrollNfcCardResponse", "NamedResourceWithIsBindHub",
"NfcCard", "NfcCard",
"NfcCardEnrollmentSessionId",
"NfcCardEnrollmentStatus", "NfcCardEnrollmentStatus",
"NfcCardId",
"NfcCardToken",
"NfcCardUser", "NfcCardUser",
"Device", "PartialHoliday",
"IdentityInvitationEmailFailure", "PartialSchedule",
"IdentityInvitationUser", "PinCode",
"IdentityResourceType", "Resource",
"Door", "ResourceId",
"DoorEmergencyStatus",
"DoorGroup",
"DoorGroupTopology",
"DoorGroupType",
"DoorLockingRule",
"DoorLockingRuleType",
"ResourceTopology", "ResourceTopology",
"Schedule",
"ScheduleId",
"SystemLogActor", "SystemLogActor",
"SystemLogAuthentication", "SystemLogAuthentication",
"SystemLogEntry", "SystemLogEntry",
"SystemLogEvent", "SystemLogEvent",
"SystemLogTopic", "SystemLogTopic",
"FetchAllVisitorsExpansion", "TimePeriod",
"User", "User",
"FullUser",
"UserGroup", "UserGroup",
"UserGroupId",
"UserId",
"UserNfcCard", "UserNfcCard",
"UserStatus", "UserStatus",
"Visitor",
"VisitorStatus",
"VisitReason", "VisitReason",
"Visitor",
"VisitorId",
"VisitorStatus",
"WeekSchedule",
] ]