Skip to content

ci: workflow python ruff linting #9

ci: workflow python ruff linting

ci: workflow python ruff linting #9

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: "**/*.py"
- uses: psf/black@stable
with:
src: ${{ steps.changed-files.outputs.all_changed_files }}
- uses: chartboost/ruff-action@v1
with:
src: ${{ steps.changed-files.outputs.all_changed_files }}