Skip to content

Bring enhancement for providing fingrained erorr messages #97

Bring enhancement for providing fingrained erorr messages

Bring enhancement for providing fingrained erorr messages #97

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1024
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: pre-commit
env:
BASE_SHA: ${{ github.event.pull_request.base.sha}}
HEAD_SHA: ${{ github.event.pull_request.head.sha}}
run: |
python -m pip install pre-commit
pre-commit run --from-ref $BASE_SHA --to-ref $HEAD_SHA --all-files