Skip to content

[pre-commit.ci] pre-commit autoupdate #642

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #642

Workflow file for this run

name: pre-commit
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
pre-commit:
strategy:
matrix:
python-version: ["3.8"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[all,pre-commit,testing]
pip freeze
- name: Run pre-commit
run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )