From a6c55c09609d63e5136ece6a3d440ef1581d7417 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 31 Oct 2024 10:05:20 -0400 Subject: [PATCH] chore: pii check --- .annotation_safe_list.yml | 2 ++ license_manager/apps/subscriptions/models.py | 2 ++ pylintrc | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.annotation_safe_list.yml b/.annotation_safe_list.yml index d6073540..019e13b7 100644 --- a/.annotation_safe_list.yml +++ b/.annotation_safe_list.yml @@ -57,3 +57,5 @@ waffle.Switch: ".. no_pii:": "This model has no PII" subscriptions.HistoricalSubscriptionLicenseSource: ".. no_pii:": "This model has no PII" +subscriptions.HistoricalCustomSubscriptionExpirationMessaging: + ".. no_pii:": "This model has no PII" diff --git a/license_manager/apps/subscriptions/models.py b/license_manager/apps/subscriptions/models.py index c51a540d..5c0c4877 100644 --- a/license_manager/apps/subscriptions/models.py +++ b/license_manager/apps/subscriptions/models.py @@ -316,6 +316,8 @@ def __str__(self): class CustomSubscriptionExpirationMessaging(models.Model): """ Custom subscription expiration messaging + + .. no_pii: This model has no PII """ customer_agreement = models.OneToOneField( diff --git a/pylintrc b/pylintrc index 6edf14d3..290f0fb3 100644 --- a/pylintrc +++ b/pylintrc @@ -64,7 +64,7 @@ # SERIOUSLY. # # ------------------------------ -# Generated by edx-lint version: 5.4.0 +# Generated by edx-lint version: 5.4.1 # ------------------------------ [MASTER] ignore = ,migrations, settings, wsgi.py @@ -401,4 +401,4 @@ int-import-graph = [EXCEPTIONS] overgeneral-exceptions = builtins.Exception -# ea586deca5871e992466c748232382f9dfadff18 +# 3efa0bd414ae95120c9d8ac2ed13b2b5e1ed1e69