Skip to content

Commit

Permalink
[fix] Linting for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu1nel committed Mar 19, 2024
1 parent 2b813b3 commit 9b323ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
import colorama
import colorama # type: ignore
from loguru import logger

import src.misc.logs as lg
Expand Down
6 changes: 3 additions & 3 deletions src/misc/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from abc import ABC

from colorama import Fore
from colorama import Fore # type: ignore


class BaseErrorCLI(ABC, Exception): # noqa: N818
Expand All @@ -13,10 +13,10 @@ def __init__(self, message: str) -> None:
self.message = Fore.RED + message + Fore.RESET

def __str__(self) -> str:
return self.message
return self.message # type: ignore

def __repr__(self) -> str:
return self.message
return self.message # type: ignore


class EmptySentenceArgumentError(BaseErrorCLI):
Expand Down

0 comments on commit 9b323ca

Please sign in to comment.