Skip to content

Commit 8b457e1

Browse files
committed
Update IPython auto-imports for modern typing practices
1 parent 340c424 commit 8b457e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker/ipython_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66

77
# Automatically import some modules
88
c.InteractiveShellApp.exec_lines = [
9-
"from typing import Any, Callable, Dict, List, Optional, Tuple, Union"
9+
"from typing import Any, ClassVar",
10+
"from collections.abc import List, Tuple, Callable, Dict",
1011
]

0 commit comments

Comments
 (0)