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",
"Q",
"RSE",
"RUF",
"SIM",
"T20",
"TCH",

View File

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