the 'screenshot' directive inherits from 'figure' #217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |