Skip to content

feat: implement :header: and screenshot_default_headers (#45) #223

feat: implement :header: and screenshot_default_headers (#45)

feat: implement :header: and screenshot_default_headers (#45) #223

Workflow file for this run

name: Style Check
on: [push, pull_request]
permissions:
contents: read
jobs:
python-style-check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install ".[dev]"
- name: Run isort
run: isort --diff --check sphinxcontrib tests
- name: Run yapf
run: yapf --diff --recursive sphinxcontrib tests
- name: Run mypy
run: mypy sphinxcontrib tests --exclude tests/roots
- name: Run flake8
run: flake8 sphinxcontrib tests