Skip to content

Move some imports to top and move logic away from them and into the T… #630

Move some imports to top and move logic away from them and into the T…

Move some imports to top and move logic away from them and into the T… #630

Workflow file for this run

name: Build and release
# Temporarily only run outside of master to not have ugly red checkmarks there, needs ruleset changes, #1388 merged and a bunch of code polish to be really useful
on:
push:
branches:
- '*'
- '!master'
pull_request:
branches:
- '*'
- '!master'
jobs:
ruff:
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install Python dependencies and setup venv
run: |
python -m pip install --upgrade pip
python -m venv .venv
source .venv/bin/activate
pip install ruff
- name: Run Ruff
# We do not want to completely fail all CI if Ruff has complaints
continue-on-error: true
run: |
source .venv/bin/activate
ruff check --config pyproject.toml .