Skip to content

adding bbox example. updating messaging (#24) #112

adding bbox example. updating messaging (#24)

adding bbox example. updating messaging (#24) #112

name: Static Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: CI/CD
runs-on: [ self-hosted, generic-linux ]
container:
image: docker.artifactory.rbx.com/python:3.10.15-alpine3.20
steps:
- uses: actions/checkout@v1 #v2 would need git config --global --add safe.directory $(realpath .)
with:
fetch-depth: 1 # only the current commit
# install
- name: Install dependencies
run: |
mkdir -p $HOME/.local/bin
python3 -m pip install --user ruff==0.9.10
# linting
- name: Run ruff
run: |
$HOME/.local/bin/ruff check . --select I001
- name: Run ruff format
run: |
$HOME/.local/bin/ruff format --check .