Skip to content

Add Ruff linter workflow and config #1

Add Ruff linter workflow and config

Add Ruff linter workflow and config #1

Workflow file for this run

name: Ruff Linting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Ruff
run: pip3 install ruff
- name: Run Ruff linter
run: ruff check .