Merge pull request #311 from xxyzz/section_node_in_template #526
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: Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- run: python -m pip install -e .[dev] | |
- run: python -m mypy -p wikitextprocessor | |
- run: python -m ruff check . | |
- run: python -m ruff format --diff . | |
- uses: crate-ci/[email protected] |