Skip to content

Commit 0c52ea8

Browse files
committed
ruff
1 parent d2c6642 commit 0c52ea8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bittensor/core/async_subtensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,7 +2263,7 @@ async def get_delegate_by_hotkey(
22632263
Returns:
22642264
Detailed information about the delegate neuron, ``None`` if not found.
22652265
2266-
Notes:
2266+
Notes:
22672267
22682268
- <https://docs.learnbittensor.org/glossary#delegate>
22692269
- <https://docs.learnbittensor.org/glossary#nominator>
@@ -5372,7 +5372,7 @@ async def wait_for_block(self, block: Optional[int] = None) -> bool:
53725372
Example::
53735373
53745374
# Waits for a specific block
5375-
await subtensor.wait_for_block(block=1234)
5375+
await subtensor.wait_for_block(block=1234)
53765376
"""
53775377

53785378
async def handler(block_data: dict):
@@ -6260,7 +6260,7 @@ async def create_crowdloan(
62606260
- Use ``get_crowdloan_next_id`` to determine the ID that will be assigned to the new crowdloan.
62616261
62626262
- Crowdloans Overview: <https://docs.learnbittensor.org/subnets/crowdloans>
6263-
- Crowdloan Tutorial: <https://docs.learnbittensor.org/subnets/crowdloans/crowdloans-tutorial#step-3-create-a-crowdloan>
6263+
- Crowdloan Tutorial: <https://docs.learnbittensor.org/subnets/crowdloans/crowdloans-tutorial#step-3-create-a-crowdloan>
62646264
"""
62656265
return await create_crowdloan_extrinsic(
62666266
subtensor=self,

bittensor/core/subtensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ def get_delegate_by_hotkey(
18261826
Returns:
18271827
Detailed information about the delegate neuron, ``None`` if not found.
18281828
1829-
Notes:
1829+
Notes:
18301830
18311831
- <https://docs.learnbittensor.org/glossary#delegate>
18321832
- <https://docs.learnbittensor.org/glossary#nominator>
@@ -4310,10 +4310,10 @@ def wait_for_block(self, block: Optional[int] = None):
43104310
True if the target block was reached, False if timeout occurred.
43114311
43124312
Example:
4313-
4313+
43144314
# Waits for a specific block
43154315
4316-
subtensor.wait_for_block(block=1234)
4316+
subtensor.wait_for_block(block=1234)
43174317
"""
43184318

43194319
def handler(block_data: dict):

0 commit comments

Comments
 (0)