Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions calc/calc.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import decimal
import re
from typing import Optional
from typing import Any, NoReturn, Optional

import discord
from expr import EvaluatorError, evaluate
from redbot.core import Config, commands
from redbot.core.bot import Red
import decimal

from .vexutils import format_help, format_info, get_vex_logger
from .view import CalcView, preprocess_expression


log = get_vex_logger(__name__)


Expand All @@ -36,9 +35,9 @@ def format_help_for_context(self, ctx: commands.Context) -> str:
"""Thanks Sinbad."""
return format_help(self, ctx)

async def red_delete_data_for_user(self, **kwargs) -> None:
async def red_delete_data_for_user(self, **kwargs: Any) -> NoReturn:
"""Nothing to delete"""
return
raise NotImplementedError

@commands.command(hidden=True)
async def calcinfo(self, ctx: commands.Context):
Expand Down