aaaaa #3207
Workflow file for this run
  
    
      This file contains hidden or 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: | |
| push: | |
| branches-ignore: | |
| - 'main' | |
| - 'docs' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 # latest | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Format and Check Diff | |
| # run formatting script, which edits files in place | |
| # then do `git diff` to show what changed (if anything) | |
| # then do `git diff --quiet` to fail if anything changed | |
| run: | | |
| python3 -m pip install --upgrade autopep8 | |
| python3 scripts/format-all.py | |
| git diff | |
| git diff --quiet |