Remove seemingly useless import #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |