Skip to content

Introduce Wally development containers #257

Introduce Wally development containers

Introduce Wally development containers #257

Workflow file for this run

name: Lint
on:
push:
paths:
- '**/*.py'
- 'bin/*'
- 'sim/vcs/run_vcs'
- '.ruff.toml'
- '!addins/*'
pull_request:
paths:
- '**/*.py'
- 'bin/*'
- 'sim/vcs/run_vcs'
- '.ruff.toml'
- '!addins/*'
jobs:
lint:
name: Lint (Python ${{matrix.version}})
strategy:
matrix:
version: [39, 313] # Test on oldest and newest versions used in wally-package-install.sh
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set Python version
run: sed -i '/^target-version/c\target-version = "py${{matrix.version}}"' .ruff.toml
- name: Ensure pre-commit checks pass
run: python3 -m pip install pre-commit && pre-commit run --all-files --show-diff-on-failure --color=always