Skip to content

Commit

Permalink
removed unused imports and removed feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 26, 2024
1 parent c14dde3 commit 966cb1d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions app/celery/scheduled_tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from datetime import datetime, timedelta
from time import monotonic

from botocore.exceptions import ClientError
from flask import current_app
from notifications_utils.statsd_decorators import statsd
from sqlalchemy import and_, select
Expand All @@ -28,11 +26,8 @@
dao_old_letters_with_created_status,
)
from app.dao.users_dao import delete_codes_older_created_more_than_a_day_ago
from app.feature_flags import is_feature_enabled, FeatureFlag
from app.integrations.comp_and_pen.scheduled_message_helpers import CompPenMsgHelper
from app.models import Job
from app.notifications.process_notifications import send_notification_to_queue
from app.notifications.send_notifications import lookup_notification_sms_setup_data
from app.v2.errors import JobIncompleteError


Expand Down
1 change: 0 additions & 1 deletion app/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class FeatureFlag(Enum):
PLATFORM_STATS_ENABLED = 'PLATFORM_STATS_ENABLED'
VA_SSO_ENABLED = 'VA_SSO_ENABLED'
V3_ENABLED = 'V3_ENABLED'
COMP_AND_PEN_MESSAGES_ENABLED = 'COMP_AND_PEN_MESSAGES_ENABLED'
VA_PROFILE_SMS_STATUS_ENABLED = 'VA_PROFILE_SMS_STATUS_ENABLED'


Expand Down
1 change: 0 additions & 1 deletion cd/application-deployment/dev/dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ AWS_SES_EMAIL_FROM_USER=dev-do-not-reply
CHECK_GITHUB_SCOPE_ENABLED=True
CHECK_TEMPLATE_NAME_EXISTS_ENABLED=True
COMP_AND_PEN_DYNAMODB_NAME=dev-bip-payment-notification-table
COMP_AND_PEN_MESSAGES_ENABLED=True
DD_ENV=dev
DD_PROFILING_ENABLED=True
DD_PROFILING_ENABLE_CODE_PROVENANCE=True
Expand Down
1 change: 0 additions & 1 deletion cd/application-deployment/perf/perf.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ AWS_SES_EMAIL_FROM_USER=perf-do-not-reply
CHECK_GITHUB_SCOPE_ENABLED=False
CHECK_TEMPLATE_NAME_EXISTS_ENABLED=False
COMP_AND_PEN_DYNAMODB_NAME=perf-bip-payment-notification-table
COMP_AND_PEN_MESSAGES_ENABLED=True
COMP_AND_PEN_PERF_TO_NUMBER=+14254147755
DD_ENV=perf
DD_PROFILING_ENABLED=True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@
"name": "PLATFORM_STATS_ENABLED",
"value": "False"
},
{
"name": "COMP_AND_PEN_MESSAGES_ENABLED",
"value": "True"
},
{
"name": "COMP_AND_PEN_DYNAMODB_NAME",
"value": "perf-bip-payment-notification-table"
Expand Down
1 change: 0 additions & 1 deletion cd/application-deployment/prod/prod.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ AWS_SES_EMAIL_FROM_USER=do-not-reply
CHECK_GITHUB_SCOPE_ENABLED=False
CHECK_TEMPLATE_NAME_EXISTS_ENABLED=False
COMP_AND_PEN_DYNAMODB_NAME=prod-bip-payment-notification-table
COMP_AND_PEN_MESSAGES_ENABLED=True
DD_ENV=prod
DD_PROFILING_ENABLED=True
DD_PROFILING_ENABLE_CODE_PROVENANCE=True
Expand Down
1 change: 0 additions & 1 deletion cd/application-deployment/staging/staging.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ AWS_SES_EMAIL_FROM_USER=staging-do-not-reply
CHECK_GITHUB_SCOPE_ENABLED=False
CHECK_TEMPLATE_NAME_EXISTS_ENABLED=False
COMP_AND_PEN_DYNAMODB_NAME=staging-bip-payment-notification-table
COMP_AND_PEN_MESSAGES_ENABLED=True
DD_ENV=staging
DD_PROFILING_ENABLED=True
DD_PROFILING_ENABLE_CODE_PROVENANCE=True
Expand Down

0 comments on commit 966cb1d

Please sign in to comment.