Process class for user facing interaction. #8608
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: Run pre-commit | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install pre-commit | |
run: python -m pip install --upgrade pip && pip install pre-commit | |
- name: Lint code | |
run: pre-commit run --all-files | |
- name: Show diff | |
run: git --no-pager diff --color=always |