Skip to content

Commit

Permalink
feat: add mypy and mypy grpc suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 26, 2021
1 parent 37f4481 commit e5a4b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protoletariat/__main__.py
Expand Up @@ -50,8 +50,8 @@ def _echo(_: Path, code: str) -> None:
"--module-suffixes",
type=str,
multiple=True,
default=["_pb2.py", "_pb2_grpc.py"],
help="Suffixes of Python modules to process",
default=["_pb2.py", "_pb2.pyi", "_pb2_grpc.py", "_pb2_grpc.pyi"],
help="Suffixes of Python/mypy modules to process",
show_default=True,
)
@click.pass_context
Expand Down

0 comments on commit e5a4b9e

Please sign in to comment.