Skip to content

fix: escape square brackets in help text for rich markup #385

fix: escape square brackets in help text for rich markup

fix: escape square brackets in help text for rich markup #385

Workflow file for this run

name: Test Coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7.x, 3.12.x, 3.13.x]
click: [7.0.*, 7.1.*, 8.0.*, 8.1.*]
rich: [12.*, 13.*]
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
if: matrix.python != '3.7.x'
run: |
pip install -U uv
uv pip install --system --editable ".[dev]"
uv pip install --system --upgrade "click==$CLICK_VERSION"
uv pip install --system --upgrade "rich==$RICH_VERSION"
env:
CLICK_VERSION: ${{ matrix.click }}
RICH_VERSION: ${{ matrix.rich }}
- name: Install dependencies (Python 3.7)
if: matrix.python == '3.7.x'
run: |
pip install --editable ".[dev]"
pip install --upgrade "click==$CLICK_VERSION"
pip install --upgrade "rich==$RICH_VERSION"
env:
CLICK_VERSION: ${{ matrix.click }}
RICH_VERSION: ${{ matrix.rich }}
- name: Run tests
run: pytest --cov --cov-report xml