Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 19, 2024
1 parent 4312f42 commit 8632c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_internal/services/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
with open("setup.py") as f:
EXPECTED_CL_VERSION = next(
map(
lambda l: re.sub(f"^\\s*{VERSION_VAR}\\s*=\\s*['\"]([^'\"]+)['\"]", "\\g<1>", l),
lambda v: re.sub(f"^\\s*{VERSION_VAR}\\s*=\\s*['\"]([^'\"]+)['\"]", "\\g<1>", v),
filter(lambda x: VERSION_VAR in x, f.read().splitlines()),
)
)
Expand Down

0 comments on commit 8632c00

Please sign in to comment.