Skip to content

Commit 3bd8a1b

Browse files
committed
lint
1 parent 1b8c43d commit 3bd8a1b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pretext/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ def requirements_version(dirpath: Optional[Path] = None) -> Optional[str]:
133133
return None
134134
try:
135135
with open(pp / "requirements.txt", "r") as f:
136-
REGEX = r"\s*pretext(book)?(\[.*\])?\s*==\s*(?P<version>[\d\.]+)\s*"
136+
regex = r"\s*pretext(book)?(\[.*\])?\s*==\s*(?P<version>[\d\.]+)\s*"
137137
for line in f.readlines():
138-
match = re.match(REGEX, line)
138+
match = re.match(regex, line)
139139
if match:
140140
return match.group("version")
141141
except Exception as e:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ----------------
1212
[tool.poetry]
1313
name = "pretext"
14-
version = "2.36.1"
14+
version = "2.37.2"
1515
description = "A package to author, build, and deploy PreTeXt projects."
1616
readme = "README.md"
1717
homepage = "https://pretextbook.org"

0 commit comments

Comments
 (0)