Skip to content

update ruff deps (#795) #5

update ruff deps (#795)

update ruff deps (#795) #5

Workflow file for this run

name: Lint Python files
on:
pull_request:
paths:
- "server/**"
- ".github/workflows/*"
push:
paths:
- "server/**"
- ".github/workflows/*"
workflow_call:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -r requirements_dev.txt
- name: Lint Python files
run: |
ruff check . -e
- name: Format Python files
run: |
ruff format . --check