Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Return None for a missing subnet instead of asserting in subtensor getters #1620

Return None for a missing subnet instead of asserting in subtensor getters

Return None for a missing subnet instead of asserting in subtensor getters #1620

Workflow file for this run

name: Ruff - formatter/linter check
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
ruff:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Ruff format check
uses: astral-sh/ruff-action@v4.0.0
with:
version: "0.15.12"
args: "format --diff"
src: "bittensor tests"
- name: Ruff linter check
uses: astral-sh/ruff-action@v4.0.0
with:
version: "0.15.12"
args: "check"
src: "bittensor"