Update index.rst #1578
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: Lint | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Get packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 | |
- name: Clone w/ submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Python Formatting | |
uses: psf/black@stable | |
with: | |
options: --check --extend-exclude '/(ext|doc/scripts/.*_theme|doc/scripts/inputs.py)' | |
src: . | |
- name: Python analysis | |
run: | | |
flake8 . |