Bump ruff to 0.7, add ruff isort, normalize conda recipes, clean docs to only use makefile commands #105
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 Docs | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
workflow_dispatch: | |
concurrency: | |
group: docs-lint | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
checks: write | |
pull-requests: write | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-22.04 | |
python-version: | |
- 3.9 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: ./.github/actions/setup-python | |
with: | |
version: '${{ matrix.python-version }}' | |
- name: Install python dependencies | |
run: make requirements | |
- name: Docs Lint Steps | |
run: make lint-docs |