Skip to content

Commit

Permalink
Remove unused type ignore pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Feb 3, 2024
1 parent 54e11c2 commit ca4b104
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flask_limiter/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def cli() -> None:


@cli.command(help="View the extension configuration")
@with_appcontext # type: ignore
@with_appcontext
def config() -> None:
with current_app.test_request_context():
console = Console(theme=limiter_theme)
Expand Down Expand Up @@ -366,7 +366,7 @@ def config() -> None:
@click.option("--method", default=None, help="HTTP Method to filter by")
@click.option("--key", default=None, help="Test the limit")
@click.option("--watch/--no-watch", default=False, help="Create a live dashboard")
@with_appcontext # type: ignore
@with_appcontext
def limits(
endpoint: Optional[str] = None,
path: Optional[str] = None,
Expand Down Expand Up @@ -488,7 +488,7 @@ def console_renderable() -> Generator: # type: ignore
@click.option("--method", default=None, help="HTTP Method to filter by")
@click.option("--key", default=None, required=True, help="Key to reset the limits for")
@click.option("-y", is_flag=True, help="Skip prompt for confirmation")
@with_appcontext # type: ignore
@with_appcontext
def clear(
key: str,
endpoint: Optional[str] = None,
Expand Down

0 comments on commit ca4b104

Please sign in to comment.