Skip to content

Commit

Permalink
chore: Type constants final and inherit enum (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongjiajie authored Oct 18, 2023
1 parent 9a28820 commit eeeeae3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/stmdency/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
class TOKEN:
from enum import Enum
from typing import Final


class TOKEN(str, Enum):
"""Constants Token."""

EXTRACTOR_NEW_LINE = "\n\n"
EXTRACTOR_NEW_LINE: Final[str] = "\n\n"

0 comments on commit eeeeae3

Please sign in to comment.