Skip to content

Commit acbdea5

Browse files
T68BotT68Bot
authored andcommitted
style: replace double backticks with single backticks in docstrings
1 parent 1f7f626 commit acbdea5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bittensor/utils/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def get_hash(content, encoding="utf-8"):
257257
Args:
258258
content: The input data to hash. Can be bytes or a string.
259259
encoding: The character encoding to use when the content is a string.
260-
Defaults to ``"utf-8"``.
260+
Defaults to `"utf-8"`.
261261
262262
Returns:
263263
The hex-encoded SHA-256 digest string.
@@ -495,11 +495,11 @@ def determine_chain_endpoint_and_network(
495495
"""Determines the chain endpoint and network from the passed network or chain_endpoint.
496496
497497
Parameters:
498-
network: The network flag. The choices are: ``finney`` (main network), ``archive`` (archive network +300 blocks),
499-
``local`` (local running network), ``test`` (test network).
498+
network: The network flag. The choices are: `finney` (main network), `archive` (archive network +300 blocks),
499+
`local` (local running network), `test` (test network).
500500
501501
Returns:
502-
The network and chain endpoint flag. If passed, overrides the ``network`` argument.
502+
The network and chain endpoint flag. If passed, overrides the `network` argument.
503503
"""
504504

505505
if network is None:

bittensor/utils/liquidity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def calculate_fees(
193193
netuid: The subnet identifier used for Balance unit tagging.
194194
195195
Returns:
196-
A tuple of (tao_fees, alpha_fees) as `Balance` instances.
196+
A tuple of `(tao_fees, alpha_fees)` as `Balance` instances.
197197
"""
198198
deprecated_message(
199199
message="calculate_fees() is deprecated. The chain has migrated from Uniswap V3 "

0 commit comments

Comments
 (0)