Skip to content

fix: drop the redundant utf-8 encode argument that tripped CI's ruff … #113

fix: drop the redundant utf-8 encode argument that tripped CI's ruff …

fix: drop the redundant utf-8 encode argument that tripped CI's ruff … #113

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: "3.14"
# html5lib is the project's declared optional `reserialize` extra (core stays
# stdlib-only); installing it here lets CI exercise the --reserialize tests
# instead of skipping them. ruff is a dev-only linter.
- run: pip install . html5lib ruff==0.16.2
# The rule set lives in pyproject.toml, so these mean the same thing locally.
# Checking `.` rather than named directories keeps a new top-level script from
# silently escaping lint.
- run: ruff check .
- run: ruff format --check .
- run: PYTHONPATH=src python -m unittest discover -s tests