Skip to content

Commit

Permalink
feat: ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrinson-rise8 committed Dec 18, 2024
1 parent 1a47772 commit 73e2e60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/recordlinker/schemas/identifier.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import re
import enum
import re
import typing

import pydantic


class IdentifierType(enum.Enum):
"""
Enum for various identifier types.
Expand Down Expand Up @@ -145,6 +147,9 @@ class IdentifierType(enum.Enum):
XX = "XX"

def __str__(self):
"""
Return the value of the enum as a string.
"""
return self.value


Expand Down
3 changes: 2 additions & 1 deletion src/recordlinker/schemas/pii.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
import pydantic

from recordlinker import models
from recordlinker.schemas.identifier import Identifier, IdentifierType
from recordlinker.schemas.identifier import Identifier
from recordlinker.schemas.identifier import IdentifierType


class FeatureAttribute(enum.Enum):
Expand Down

0 comments on commit 73e2e60

Please sign in to comment.