Skip to content

Commit 41863fd

Browse files
committed
Avoid complains from type checker
1 parent 274fefc commit 41863fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsconnect/pyproject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import tomllib
1313
except ImportError:
1414
# Python 3.11+ has tomllib in the standard library
15-
import toml as tomllib
15+
import toml as tomllib # type: ignore[no-redef]
1616

1717

1818
def lookup_metadata_file(directory: typing.Union[str, pathlib.Path]) -> typing.List[typing.Tuple[str, pathlib.Path]]:

0 commit comments

Comments
 (0)