Skip to content

Update utils.py

Update utils.py #441

Workflow file for this run

name: Ruff
on: [push, pull_request]
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
- uses: chartboost/ruff-action@v1
with:
args: 'check --select C90,E,F,I,NPY,RUF,UP,W --ignore E501,F401 --fixable ALL --unsafe-fixes --fix'
- uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: 'ruff'
create_branch: true
commit_message: 'style fixes by ruff'