We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 048e370 + d97047d commit ab9cd36Copy full SHA for ab9cd36
1 file changed
isort/io.py
@@ -1,7 +1,6 @@
1
"""Defines any IO utilities used by isort"""
2
3
import dataclasses
4
-import re
5
import tokenize
6
from collections.abc import Callable, Iterator
7
from contextlib import contextmanager
@@ -11,8 +10,6 @@
11
10
12
from isort.exceptions import UnsupportedEncoding
13
14
-_ENCODING_PATTERN = re.compile(rb"^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+)")
15
-
16
17
@dataclasses.dataclass(frozen=True)
18
class File:
0 commit comments