Skip to content

Merge pull request #5128 from openstates/ca-docker-image-fix-entrypoint #4058

Merge pull request #5128 from openstates/ca-docker-image-fix-entrypoint

Merge pull request #5128 from openstates/ca-docker-image-fix-entrypoint #4058

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