Skip to content

add script to re-compile requirements #149

add script to re-compile requirements

add script to re-compile requirements #149

Workflow file for this run

name: Python ruff
# Run either when pushing directly to main/master or in a PR targeting main/master
on:
push:
branches:
- master
- main
paths:
- ".github/workflows/ruff.yml"
- "**.py"
pull_request:
paths:
- ".github/workflows/ruff.yml"
- "**.py"
# Cancel previous runs for PRs but not pushes to main
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
# https://github.com/chartboost/ruff-action
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: ruff
uses: chartboost/ruff-action@v1
with:
src: "./python"