Bump minimum Python version to 3.8 (#1876)

* Bump minimum Python version to 3.8

* typing_extensions.Literal -> typing.Literal

* ns-dev-test

* typing_extensions.get_args => typing.get_args

* Format with older version of black

* Bump `black`

* Run black
This commit is contained in:
Brent Yi authored and GitHub committed 2023-05-06 13:29:48 -07:00
1 parent 7537551f38
commit 63c6303736
58 files changed
+70 -117

No files matched your search

+1 -2
View File
@@ -17,7 +17,7 @@ from __future__ import annotations
import threading
from pathlib import Path
from typing import TYPE_CHECKING, List, Optional
from typing import TYPE_CHECKING, List, Literal, Optional
import numpy as np
import torch
@@ -25,7 +25,6 @@ from rich import box, style
from rich.console import Console
from rich.panel import Panel
from rich.table import Table
from typing_extensions import Literal
from nerfstudio.configs import base_config as cfg
from nerfstudio.data.datasets.base_dataset import InputDataset