Skip to content

Merge pull request #210 from 7hebel/main #349

Merge pull request #210 from 7hebel/main

Merge pull request #210 from 7hebel/main #349

Workflow file for this run

name: Ruff Checks (lint/format)
on:
push:
branches:
- develop
pull_request:
branches:
- main
- develop
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint Check
run: |
ruff check .
- name: Format Check
run: |
ruff format --check .