Skip to content

Commit

Permalink
Revert "test: silence mypy failured due to bad click"
Browse files Browse the repository at this point in the history
This reverts commit b3e8a8d.
  • Loading branch information
Ned Batchelder committed Jul 18, 2023
1 parent bc23cc0 commit dced8a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/scriv/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

from .cli import cli

# This type: pragma can be removed when click 8.1.6 is out, to fix
# https://github.com/pallets/click/issues/2558.
cli(prog_name="scriv") # type: ignore[misc]
cli(prog_name="scriv")
8 changes: 3 additions & 5 deletions src/scriv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ def cli() -> None: # noqa: D401
"""The main entry point for the scriv command."""


# These type: pragmas can be removed when click 8.1.6 is out, to fix
# https://github.com/pallets/click/issues/2558.
cli.add_command(create) # type: ignore[attr-defined]
cli.add_command(collect) # type: ignore[attr-defined]
cli.add_command(github_release) # type: ignore[attr-defined]
cli.add_command(create)
cli.add_command(collect)
cli.add_command(github_release)

0 comments on commit dced8a1

Please sign in to comment.