doodles-py/.github/workflows/lint.yml
2024-04-26 16:47:22 -05:00

33 lines
572 B
YAML

name: Python Linting
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python -
- name: Install dependencies
run: poetry install
- name: ruff
run: poetry run ruff src
# TODO: restore mypy linting
# - name: mypy
# run: mypy src