Skip to content

Merge pull request #7 from frapercan/develop #57

Merge pull request #7 from frapercan/develop

Merge pull request #7 from frapercan/develop #57

Workflow file for this run

name: Lint
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
poetry-version: ["2.1.0"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Add poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dev dependencies
run: poetry install --only dev
- name: ruff check
run: poetry run ruff check protea scripts
- name: flake8
run: poetry run flake8 protea
- name: mypy
run: poetry run mypy protea