Skip to content

Commit 3333c66

Browse files
committed
lint
1 parent 836764c commit 3333c66

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lambdas/shared/src/common/models/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Code(str, Enum):
2525
class UnauthorizedError(RuntimeError):
2626
@staticmethod
2727
def to_operation_outcome() -> dict:
28-
msg = f"Unauthorized request"
28+
msg = "Unauthorized request"
2929
return create_operation_outcome(
3030
resource_id=str(uuid.uuid4()),
3131
severity=Severity.error,
@@ -237,7 +237,7 @@ class UnauthorizedSystemError(RuntimeError):
237237
def __init__(self, message="Unauthorized system"):
238238
super().__init__(message)
239239
self.message = message
240-
240+
241241
def to_operation_outcome(self) -> dict:
242242
return create_operation_outcome(
243243
resource_id=str(uuid.uuid4()),

lambdas/shared/tests/test_common/test_pds_service.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,3 @@ def test_env_mapping(self):
7373
env = "prod"
7474
service = PdsService(None, env)
7575
self.assertTrue(env not in service.base_url)
76-
77-

0 commit comments

Comments
 (0)