Skip to content

Merge branch 'master' into liftToUVUsage #98

Merge branch 'master' into liftToUVUsage

Merge branch 'master' into liftToUVUsage #98

Workflow file for this run

---
name: pyupgrade
on: push # yamllint disable-line rule:truthy
jobs:
pyupgrade:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: |
**/setup.cfg
**/pyproject.toml
- name: Ensure modern Python style using pyupgrade
run: |
uvx \
--from '.[pyupgrade]' \
darker --formatter=pyupgrade --target-version=py39 --diff