From 794efb68b89165e428277373cdfe65e406bdba7e Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 2 Jan 2025 18:40:50 -0500 Subject: [PATCH] support backticks in dusty imports --- nomen/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/settings.py b/nomen/settings.py index 16eb5e6..38b712e 100644 --- a/nomen/settings.py +++ b/nomen/settings.py @@ -12,7 +12,7 @@ from .utils import confirm log = logging.getLogger("nomen.settings") log.setLevel(logging.INFO) -DUSTY_DATA_LINE = re.compile(r"^(.+) – notified (\d+) times$") +DUSTY_DATA_LINE = re.compile(r"^`?(.+)`? – notified `?(\d+)`? times$") class InvalidImportFormat(Exception):