Skip to content

changes

changes #48

Workflow file for this run

name: Format
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Check formatting with ruff
run: |
ruff format --check .
- name: Check code with ruff
run: |
ruff check .