Skip to content

Release Notes: v0.0.11 #7

Release Notes: v0.0.11

Release Notes: v0.0.11 #7

Workflow file for this run

name: pre-commit
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Check code style
runs-on: ubuntu-latest
strategy:
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install dev dependencies
run: |
set -vxeuo pipefail
pip install -r requirements-dev.txt
python -m pip list
- name: Run pre-commit
run: pre-commit run --all-files