Skip to content

Commit b687626

Browse files
committed
update
1 parent 43f9258 commit b687626

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
- os: ubuntu-latest
5858
python: "3.14"
5959
tox-env: py314-sphinx8-needs8
60+
# minimal version on Windows
61+
- os: windows-latest
62+
python: "3.14"
63+
tox-env: py312-sphinx7-needs5
6064
# maximal versions on other OSes
6165
- os: ubuntu-24.04-arm
6266
python: "3.14"

tests/test_cmd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# @Test suite for CLI commands including analyse, discover, and write, TEST_CLI_1, test, [IMPL_CLI_ANALYZE, IMPL_CLI_DISCOVER, IMPL_CLI_WRITE]
22
import json
33
from pathlib import Path
4+
import re
45

56
import pytest
67
import toml
@@ -52,8 +53,6 @@ def _normalize_output(text: str) -> str:
5253
Typer wraps error messages in rich panels whose line breaks depend on terminal
5354
width, which can cause substring assertions to fail.
5455
"""
55-
import re
56-
5756
# Remove box-drawing characters (─│╭╮╯╰) and collapse resulting whitespace
5857
text = re.sub(r"[─│╭╮╯╰]", " ", text)
5958
return re.sub(r"\s+", " ", text).strip()

0 commit comments

Comments
 (0)