Skip to content

Proposed Improvement: migrate from Poetry + requirements.txt to UV #540

Proposed Improvement: migrate from Poetry + requirements.txt to UV

Proposed Improvement: migrate from Poetry + requirements.txt to UV #540

Workflow file for this run

name: Lint
on:
push:
branches:
- "main"
paths:
- '**.py' # Run if pushed commits include a change to a Python (.py) file.
- '.github/workflows/lint.yml' # Run if pushed commits include a change to a github actions workflow file.
- '.pyproject.toml' # Run if project configuration file changes.
pull_request:
branches:
- "main"
paths:
- '**.py' # Run if pushed commits include a change to a Python (.py) file.
- '.github/workflows/lint.yml' # Run if pushed commits include a change to a github actions workflow file.
- '.pyproject.toml' # Run if project configuration file changes.
workflow_dispatch:
jobs:
ruff_check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Ruff Check
uses: astral-sh/ruff-action@v3
with:
args: check --output-format=github
- name: Ruff Format
uses: astral-sh/ruff-action@v3
with:
args: format --check --diff