Skip to content

ci: add github actions for python linting #2

ci: add github actions for python linting

ci: add github actions for python linting #2

Workflow file for this run

name: Linting
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff Lint
run: ruff check .
- name: Run Ruff Format Check
run: ruff format --check .