Skip to content

Check python syntax with ruff #6

Check python syntax with ruff

Check python syntax with ruff #6

Workflow file for this run

name: Check python syntax
on:
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set Python Version
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Python Ruff Lint and Format
run: |
ruff check --output-format=github .
ruff format --check