Skip to content

Merge pull request #1376 from sul-dlss/t1318-oclc-exports-bug #1909

Merge pull request #1376 from sul-dlss/t1318-oclc-exports-bug

Merge pull request #1376 from sul-dlss/t1318-oclc-exports-bug #1909

Workflow file for this run

# github action workflow to run black formatter check and linting checks for our python code
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Airflow + dependencies
run: |
pip install -r requirements.txt
poetry install
- name: Lint with flake8
run: poetry run flake8
- name: Format with black
run: poetry run black --check --diff .