# ruff, which the repo has been configured for and never ran. name: lint on: push: branches: [master] pull_request: jobs: ruff: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install ruff run: | apt-get update -qq apt-get install -y --no-install-recommends python3-venv >/dev/null python3 -m venv /tmp/venv /tmp/venv/bin/pip install -q ruff # The rule set lives in backend/pyproject.toml; the desktop app has no ruff # section of its own and is checked with the same one. `ruff format` is not # run on purpose — see the note in that config. - name: ruff check run: /tmp/venv/bin/ruff check --config backend/pyproject.toml backend desktop