Final typing fixes + add Pyright to CI (#1944)

* knocking out a couple

* Fix more errors

* Add pyright

* Remove some unnecessary cv2 type ignores, warning on missing imports
(for missing tinycudann)

* Minor annotation fixes

* Update docs

* Drop `None` from temporal distortion output

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
This commit is contained in:
Matthew TancikandBrent Yi authored and GitHub committed 2023-05-18 02:25:34 -07:00
1 parent 08e3a1f1a6
commit 2b0831b6d4
28 files changed
+110 -71

No files matched your search

@@ -33,7 +33,7 @@ class SceneCollider(nn.Module):
self.kwargs = kwargs
super().__init__()
def set_nears_and_fars(self, ray_bundle) -> RayBundle:
def set_nears_and_fars(self, ray_bundle: RayBundle) -> RayBundle:
"""To be implemented."""
raise NotImplementedError