Skip to content

Commit

Permalink
chore(weave): pyright: enable reportFunctionMemberAccess (#2872)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong authored Nov 5, 2024
1 parent 1f64d56 commit 3c9d86b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ reportAssignmentType = false
reportInconsistentOverload = false
reportTypedDictNotRequiredAccess = false
reportOptionalSubscript = false
reportFunctionMemberAccess = false

[tool.mypy]
warn_unused_configs = true
Expand Down
4 changes: 2 additions & 2 deletions weave/trace/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def cli() -> None:
pass


@cli.command(help="Serve weave models.")
@cli.command(help="Serve weave models.") # pyright: ignore[reportFunctionMemberAccess]
@click.argument("model_ref")
@click.option("--method", help="Method name to serve.")
@click.option("--project", help="W&B project name.")
Expand Down Expand Up @@ -54,7 +54,7 @@ def serve(
)


@cli.group(help="Deploy weave models.")
@cli.group(help="Deploy weave models.") # pyright: ignore[reportFunctionMemberAccess]
def deploy() -> None:
pass

Expand Down

0 comments on commit 3c9d86b

Please sign in to comment.