Skip to content

installation: Switch to UV for dependency management #10442

installation: Switch to UV for dependency management

installation: Switch to UV for dependency management #10442

Workflow file for this run

# This workflow check the format all files in the repository
# * It checks that all nonempty files have a newline at the end
# * It checks that there are no whitespaces at the end of lines
# * It checks that Python files are formatted with ruff
name: Code Formatting
on:
pull_request:
push:
branches: [main]
jobs:
code-formatting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Run code formatting checks with pre-commit
uses: pre-commit/action@v3.0.0