cst: Use hashes in scrubber for segment-exists checks #3979
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 python | |
on: | |
push: | |
branches: | |
- 'dev' | |
paths: | |
- '**.py' | |
tags-ignore: | |
- '**' | |
pull_request: | |
paths: | |
- '**.py' | |
jobs: | |
py: | |
name: Lint python files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install yapf | |
run: pip install yapf==0.40.1 | |
- name: Run yapf | |
run: find . -type f -name '*.py' | xargs -n8 yapf -d |