diff --git a/setup.cfg b/setup.cfg index 2093d9c..29b8b25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,7 @@ package_dir= packages=find: install_requires = - identify<2.0 + identify>=2.0,<3.0 [options.packages.find] where=src diff --git a/src/texthooks/_common.py b/src/texthooks/_common.py index 35b6d28..20309bd 100644 --- a/src/texthooks/_common.py +++ b/src/texthooks/_common.py @@ -7,7 +7,7 @@ import sys import typing as t -import identify +from identify import identify _ANSI_RE = re.compile(r"\033\[[;?0-9]*[a-zA-Z]") _ANSI_COLORS = {