Skip to content

Detect all __init__.py besides files starts with test #9

Detect all __init__.py besides files starts with test

Detect all __init__.py besides files starts with test #9

Workflow file for this run

name: lint
on: [ pull_request ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1024
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- 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
SETUPTOOLS_USE_DISTUTILS=stdlib pre-commit run --from-ref $BASE_SHA --to-ref $HEAD_SHA --all-files