Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklambourne committed Jan 28, 2024
1 parent c1b4ac6 commit 03ff88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slackblocks/rich_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Any, Dict, List, Optional, TypeVar, Union

from .errors import InvalidUsageError
from .utils import coerce_to_list, validate_int, validate_string
from .utils import coerce_to_list, validate_int


class RichTextObjectType(Enum):
Expand Down
2 changes: 1 addition & 1 deletion slackblocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def validate_int(
allow_none: bool = False,
) -> int:
if num is None and not allow_none:
raise InvalidUsageError(f"`num` is None, which is disallowed.")
raise InvalidUsageError("`num` is None, which is disallowed.")
if min_ is not None:
if num < min_:
raise InvalidUsageError(f"{num} is less than the minimum {min_}")
Expand Down

0 comments on commit 03ff88e

Please sign in to comment.