[pre-commit.ci] pre-commit autoupdate #906
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: Flake8 | |
on: | |
push: | |
pull_request: | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
cache: pip | |
cache-dependency-path: requirements*.txt | |
- name: Install pre-commit | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install -r requirements-dev.txt | |
- name: Run flake8 | |
run: | | |
echo "::add-matcher::.github/matchers/flake8.json" | |
pre-commit run flake8 --all-files | |
echo "::remove-matcher owner=flake8::" |