Skip to content

Commit

Permalink
build: remove some unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 20, 2024
1 parent ed4912e commit 89bceb7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 245 deletions.
2 changes: 0 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pathlib import Path

import tomli
from dotenv import load_dotenv


DEV = sys.platform == "win32"
Expand All @@ -13,7 +12,6 @@

PROJECT_PATH = Path(__file__, "..").resolve()

load_dotenv(PROJECT_PATH.joinpath(".env"))

SECRET_TOKEN = bytes.fromhex(os.environ["SECRET_TOKEN"])
CSRF_SECRET_TOKEN = os.environ["CSRF_SECRET_TOKEN"]
Expand Down
6 changes: 3 additions & 3 deletions lint/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import difflib
import enum

import pydantic
from dataclasses import dataclass

from lint.wiki import Wiki

Expand Down Expand Up @@ -36,7 +35,8 @@ def __str__(self) -> str:
return f"<Patch {self.category} {self.message}>"


class SubjectWiki(pydantic.BaseModel):
@dataclass(frozen=True, slots=True, kw_only=True)
class SubjectWiki:
id: int
original: str
type: SubjectType
Expand Down
Loading

0 comments on commit 89bceb7

Please sign in to comment.