Skip to content

Add Ampache media server backend that supports Ampache's native JSON API (API8) #326

Add Ampache media server backend that supports Ampache's native JSON API (API8)

Add Ampache media server backend that supports Ampache's native JSON API (API8) #326

Workflow file for this run

name: Ruff (TRY400 + pyflakes)
# Ruff enforces the same pyflakes/pycodestyle rules as the flake8 gate PLUS
# TRY400 (logging.error inside an except block must be logging.exception) - a rule
# flake8 cannot express. Config + select live in ruff.toml. Independent of the
# test/build workflows; a red result here does not block them.
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
permissions:
contents: read
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install ruff==0.14.0
- name: Run ruff check
run: ruff check .