Skip to content

build(deps): bump ruff from 0.6.1 to 0.6.5 #306

build(deps): bump ruff from 0.6.1 to 0.6.5

build(deps): bump ruff from 0.6.1 to 0.6.5 #306

Workflow file for this run

name: style
on:
push:
branches: main
pull_request:
branches: main
jobs:
ruff:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Run ruff
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade -e ".[quality]"
ruff --version
ruff check --diff .
mypy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade -e ".[quality]"
- name: Run mypy
run: |
mypy --version
mypy
ruff-format:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Run ruff
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade -e ".[quality]"
ruff --version
ruff format --check --diff .
precommit-hooks:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Run pre-commit hooks
run: |
python -m pip install --upgrade uv
uv pip install --system pre-commit
git checkout -b temp
pre-commit install
pre-commit --version
pre-commit run --all-files