doodles-py/.github/actions/lint.yml
2024-04-26 16:11:49 -05:00

33 lines
559 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: ruff src
# TODO: restore mypy linting
# - name: mypy
# run: mypy src