Skip to content

Commit

Permalink
Suppress mypy var-annotated
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Oct 10, 2023
1 parent 70ae47f commit 763c9fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion examples/17_background_composite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="var-annotated"
"""Depth compositing
In this example, we show how to use a background image with depth compositing. This can
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ python_version = "3.8"
ignore_missing_imports = true
warn_unused_configs = true
exclude="viser/client/.nodeenv"
disable_error_code="var-annotated" # Common source of mypy + numpy false positives.

[tool.pyright]
exclude = ["./docs/**/*", "./examples/assets/**/*", "./src/viser/client/.nodeenv", "./build"]
Expand Down

0 comments on commit 763c9fd

Please sign in to comment.