mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
code review feedback, fix setup.cfg and reformat
This commit is contained in:
@@ -4,12 +4,7 @@ from app.dao.service_permissions_dao import (
|
||||
dao_fetch_service_permissions,
|
||||
dao_remove_service_permission,
|
||||
)
|
||||
from app.models import (
|
||||
EMAIL_TYPE,
|
||||
INBOUND_SMS_TYPE,
|
||||
INTERNATIONAL_SMS_TYPE,
|
||||
SMS_TYPE,
|
||||
)
|
||||
from app.models import EMAIL_TYPE, INBOUND_SMS_TYPE, INTERNATIONAL_SMS_TYPE, SMS_TYPE
|
||||
from tests.app.db import create_service, create_service_permission
|
||||
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ from app.dao.inbound_numbers_dao import (
|
||||
)
|
||||
from app.dao.organization_dao import dao_add_service_to_organization
|
||||
from app.dao.service_permissions_dao import dao_remove_service_permission
|
||||
from app.dao.service_user_dao import (
|
||||
dao_get_service_user,
|
||||
dao_update_service_user,
|
||||
)
|
||||
from app.dao.service_user_dao import dao_get_service_user, dao_update_service_user
|
||||
from app.dao.services_dao import (
|
||||
dao_add_user_to_service,
|
||||
dao_create_service,
|
||||
|
||||
@@ -7,10 +7,7 @@ from sqlalchemy.exc import DataError
|
||||
from sqlalchemy.orm.exc import NoResultFound
|
||||
|
||||
from app import db
|
||||
from app.dao.service_user_dao import (
|
||||
dao_get_service_user,
|
||||
dao_update_service_user,
|
||||
)
|
||||
from app.dao.service_user_dao import dao_get_service_user, dao_update_service_user
|
||||
from app.dao.users_dao import (
|
||||
_remove_values_for_keys_if_present,
|
||||
count_user_verify_codes,
|
||||
|
||||
Reference in New Issue
Block a user