Skip to content

Docstrings updates for v10 #862

Docstrings updates for v10

Docstrings updates for v10 #862

Workflow file for this run

name: Ruff - formatter check
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
ruff:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Ruff in virtual environment
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install ruff==0.11.5
- name: Ruff format check
run: |
source venv/bin/activate
python -m ruff format --diff bittensor