WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 72604fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 84a97cf commit 72604fe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

traitlets/tests/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from __future__ import annotations
22

33
import sys
4+
from collections.abc import Sequence
45
from subprocess import PIPE, Popen
5-
from typing import Any, Sequence
6+
from typing import Any
67

78

89
def get_output_error_code(cmd: str | Sequence[str]) -> tuple[str, str, Any]:

traitlets/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import os
44
import pathlib
5-
from typing import Sequence
5+
from collections.abc import Sequence
66

77

88
# vestigal things from IPython_genutils.

0 commit comments

Comments
 (0)