Skip to content

fix references to token #109

fix references to token

fix references to token #109

Workflow file for this run

name: ruff
on:
push:
branches: main
paths:
- '**.py'
- .github/workflows/ruff.yml
- 'pyproject.toml'
- 'requirements.txt'
pull_request:
paths:
- '**.py'
- .github/workflows/ruff.yml
- 'pyproject.toml'
- 'requirements.txt'
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
- name: Install deps
run: |
uv venv .venv
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
echo "$PWD/.venv/bin" >> $GITHUB_PATH
uv pip install \
ruff
- name: Run ruff
shell: bash
run: |
ruff check --output-format=github . */*/*.py
ruff format --check