Skip to content

Bump tqdm from 4.66.5 to 4.66.6 in the python-packages group (#19) #22

Bump tqdm from 4.66.5 to 4.66.6 in the python-packages group (#19)

Bump tqdm from 4.66.5 to 4.66.6 in the python-packages group (#19) #22

Workflow file for this run

name: Style
on:
push:
branches:
- master
jobs:
auto-format:
name: Lint & format code with ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install ruff
- name: Lint & format code with ruff and commit any changes
run: |
ruff check --output-format=github --fix .
ruff format .
git config --global user.name 'Auto ruff formatter'
git config --global user.email 'claudiugeorgiu@users.noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git checkout ${GITHUB_REF#refs/heads/}
git diff --quiet || git commit -am "Format code with ruff [auto]" && git push