From 3e1cbe85b5d618f2d000a388189a49377430109f Mon Sep 17 00:00:00 2001 From: King Date: Thu, 27 Feb 2025 22:11:22 +0100 Subject: [PATCH 1/3] Fix typos in docs/running_on_staging.md --- docs/running_on_staging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/running_on_staging.md b/docs/running_on_staging.md index e282dcfc6..66b824d89 100644 --- a/docs/running_on_staging.md +++ b/docs/running_on_staging.md @@ -309,7 +309,7 @@ python neurons/validator.py --netuid 1 --subtensor.chain_endpoint ws://127.0.0.1 ## 14. Set weights for your subnet -Register a validator on the root subnet and boost to set weights for your subnet. This is a necessary step to ensure that the subnet is able to receive emmissions. +Register a validator on the root subnet and boost to set weights for your subnet. This is a necessary step to ensure that the subnet is able to receive emissions. ### Register your validator on the root subnet From d5141bbee1bbef075692aefe11e0d9ab120d288e Mon Sep 17 00:00:00 2001 From: King Date: Thu, 27 Feb 2025 22:11:24 +0100 Subject: [PATCH 2/3] Fix typos in docs/stream_tutorial/README.md --- docs/stream_tutorial/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/stream_tutorial/README.md b/docs/stream_tutorial/README.md index f213fd3af..bf14b6d12 100644 --- a/docs/stream_tutorial/README.md +++ b/docs/stream_tutorial/README.md @@ -1,5 +1,5 @@ # Bittensor Streaming Tutorial -This document is intented as a developer-friendly walkthrough of integrating streaming into your bittensor application. +This document is intended, indented as a developer-friendly walkthrough of integrating streaming into your bittensor application. If you prefer to jump right into a complete stand-alone example, see: - `miner.py` @@ -96,7 +96,7 @@ class MyStreamingSynapse(bt.StreamingSynapse): return self.completion # implement your `process_streaming_response` logic to actually yield objects to the streamer - # this effectively defines the async generator that you'll recieve on the client side + # this effectively defines the async generator that you'll receive on the client side async def process_streaming_response(self, response: MyStreamingSynapse): # this is an example of how you might process a streaming response # iterate over the response content and yield each line From aff610d771d086277c23149554f59a9a08268af1 Mon Sep 17 00:00:00 2001 From: King Date: Thu, 27 Feb 2025 22:11:26 +0100 Subject: [PATCH 3/3] Fix typos in contrib/STYLE.md --- contrib/STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/STYLE.md b/contrib/STYLE.md index b7ac755fc..185226120 100644 --- a/contrib/STYLE.md +++ b/contrib/STYLE.md @@ -58,7 +58,7 @@ Python's official style guide is PEP 8, which provides conventions for writing c #### More details -Use `black` to format your python code before commiting for consistency across such a large pool of contributors. Black's code [style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style) ensures consistent and opinionated code formatting. It automatically formats your Python code according to the Black style guide, enhancing code readability and maintainability. +Use `black` to format your python code before committing for consistency across such a large pool of contributors. Black's code [style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style) ensures consistent and opinionated code formatting. It automatically formats your Python code according to the Black style guide, enhancing code readability and maintainability. Key Features of Black: