Skip to content

Merge pull request #5087 from openstates/usa-more-doc-note-trim #3933

Merge pull request #5087 from openstates/usa-more-doc-note-trim

Merge pull request #5087 from openstates/usa-more-doc-note-trim #3933

Workflow file for this run

name: Lint Python
on:
push:
branches:
- "*"
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: install poetry
run: pip install poetry wheel
- name: install dependencies
run: poetry install --only=dev
- name: flake8 check
run: poetry run flake8 scrapers scrapers_next
- name: black check
run: poetry run black --check --diff scrapers scrapers_next