Skip to content

Merge pull request #9 from strollby/input-transform #136

Merge pull request #9 from strollby/input-transform

Merge pull request #9 from strollby/input-transform #136

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Lint
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
python: ["3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install --only dev
- name: ruff check
run: |
poetry run ruff check .
poetry run ruff format --diff .