Skip to content

Commit 7d69ebc

Browse files
committed
Ruff
1 parent 8085729 commit 7d69ebc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bittensor_cli/src/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Constants:
1717
"archive": archive_entrypoint,
1818
"local": local_entrypoint,
1919
"dev": dev_entrypoint,
20-
"rao": rao_entrypoint
20+
"rao": rao_entrypoint,
2121
}
2222
delegates_detail_url = "https://raw.githubusercontent.com/opentensor/bittensor-delegates/main/public/delegates.json"
2323

bittensor_cli/src/bittensor/chain_data.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,11 @@ def list_from_vec_u8(cls, vec_u8: bytes) -> list["SubnetInfo"]:
571571
)
572572
return result
573573

574+
574575
@dataclass
575576
class SubnetInfoV2:
576577
"""Dataclass for subnet info."""
578+
577579
netuid: int
578580
owner_ss58: str
579581
max_allowed_validators: int
@@ -776,7 +778,7 @@ def list_from_vec_u8(cls, vec_u8: bytes) -> List["SubnetInfoV2"]:
776778
["arbitration_block", "Compact<u64>"],
777779
],
778780
},
779-
"SubnetState": {
781+
"SubnetState": {
780782
"type": "struct",
781783
"type_mapping": [
782784
["netuid", "Compact<u16>"],

0 commit comments

Comments
 (0)