Skip to content

Commit 435c785

Browse files
authored
Merge pull request #616 from hedyhli/typos
Fix typos across codebase
2 parents b3a5c66 + 39057e8 commit 435c785

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

pydis_site/apps/api/tests/test_off_topic_channel_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def setUpTestData(cls):
154154
cls.test_name_2 = OffTopicChannelName.objects.create(name='bbq-with-bisk')
155155

156156
def test_deleting_unknown_name_returns_404(self):
157-
"""Return 404 reponse when trying to delete unknown name."""
157+
"""Return 404 response when trying to delete unknown name."""
158158
url = reverse('api:bot:offtopicchannelname-detail', args=('unknown-name',))
159159
response = self.client.delete(url)
160160

pydis_site/apps/api/tests/test_offensive_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_returns_400_on_negative_id_or_channel_id(self):
5858
)
5959

6060
for field, invalid_value in cases:
61-
with self.subTest(fied=field, invalid_value=invalid_value):
61+
with self.subTest(field=field, invalid_value=invalid_value):
6262
test_data = data.copy()
6363
test_data.update({field: invalid_value})
6464

pydis_site/apps/content/resources/guides/pydis-guides/contributing/issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Definitely try to:
5656

5757
Labels allow us to better organise Issues by letting us view what type of Issue it is, how it might impact the codebase and at what stage it's at.
5858

59-
In our repositories, we try to prefix labels belonging to the same group, for example the label groups `status` or `type`. We will be trying to keep to the same general structure across our project repositories, but just have a look at the full lables list in the respective repository to get a clear idea what's available.
59+
In our repositories, we try to prefix labels belonging to the same group, for example the label groups `status` or `type`. We will be trying to keep to the same general structure across our project repositories, but just have a look at the full labels list in the respective repository to get a clear idea what's available.
6060

6161
If you're a contributor, you can add relevant labels yourself to any new Issue ticket you create.
6262

pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Otherwise, please see the below linked guide for Redis related variables.
9696

9797
---
9898
# Run the project
99-
The sections below describe the two ways you can run this project. We recomend Docker as it requires less setup.
99+
The sections below describe the two ways you can run this project. We recommend Docker as it requires less setup.
100100

101101
## Run with Docker
102102
Make sure to have Docker running, then use the Docker command `docker-compose up` in the project root.

pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Additionally, you may find the following environment variables useful during dev
2626
| `BOT_DEBUG` | Debug mode of the bot | False |
2727
| `PREFIX` | The bot's invocation prefix | `.` |
2828
| `CYCLE_FREQUENCY` | Amount of days between cycling server icon | 3 |
29-
| `MONTH_OVERRIDE` | Interger in range `[0, 12]`, overrides current month w.r.t. seasonal decorators |
29+
| `MONTH_OVERRIDE` | Integer in range `[0, 12]`, overrides current month w.r.t. seasonal decorators |
3030
| `REDIS_HOST` | The address to connect to for the Redis database. |
3131
| `REDIS_PORT` | |
3232
| `REDIS_PASSWORD` | |
@@ -61,10 +61,10 @@ These variables might come in handy while working on certain cogs:
6161

6262
| Cog | Environment Variable | Description |
6363
| -------- | -------- | -------- |
64-
| Advent of Code | `AOC_LEADERBOARDS` | List of leaderboards seperated by `::`. Each entry should have an `id,session cookie,join code` seperated by commas in that order. |
64+
| Advent of Code | `AOC_LEADERBOARDS` | List of leaderboards separated by `::`. Each entry should have an `id,session cookie,join code` separated by commas in that order. |
6565
| Advent of Code | `AOC_STAFF_LEADERBOARD_ID` | Integer ID of the staff leaderboard. |
6666
| Advent of Code | `AOC_ROLE_ID` | ID of the advent of code role.
67-
| Advent of Code | `AOC_IGNORED_DAYS` | Comma seperated list of days to ignore while calulating score. |
67+
| Advent of Code | `AOC_IGNORED_DAYS` | Comma separated list of days to ignore while calculating score. |
6868
| Advent of Code | `AOC_YEAR` | Debug variable to change the year used for AoC. |
6969
| Advent of Code | `AOC_CHANNEL_ID` | The ID of the #advent-of-code channel |
7070
| Advent of Code | `AOC_COMMANDS_CHANNEL_ID` | The ID of the #advent-of-code-commands channel |

pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If you get any Docker related errors, reference the [Possible Issues](https://py
108108

109109
## Run on the host
110110

111-
Running on the host is particularily useful if you wish to debug the site. The [environment variables](#2-environment-variables) shown in a previous section need to have been configured.
111+
Running on the host is particularly useful if you wish to debug the site. The [environment variables](#2-environment-variables) shown in a previous section need to have been configured.
112112

113113
### Database
114114

pydis_site/apps/content/resources/guides/pydis-guides/contributing/working-with-git/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you use SSH, use `[email protected]:python-discord/sir-lancebot.git` for the ups
2727
You will be committing your changes to a new branch rather than to `main`.
2828
Using branches allows you to work on muiltiple pull requests without conflicts.
2929

30-
You can name your branch whatever you want, but it's recommended to name it something succint and relevant to the changes you will be making.
30+
You can name your branch whatever you want, but it's recommended to name it something succinct and relevant to the changes you will be making.
3131

3232
Run the following commands to create a new branch. Replace `branch_name` with the name you wish to give your branch.
3333
```sh

pydis_site/apps/content/resources/guides/pydis-guides/contributing/working-with-git/pycharm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following will use the [Sir-Lancebot](https://github.com/python-discord/sir-
2727
## Creating a New Branch
2828
> You will be committing your changes to a new branch rather than to `main`. Using branches allows you to work on multiple pull requests at the same time without conflicts.
2929
30-
> You can name your branch whatever you want, but it's recommended to name it something succint and relevant to the changes you will be making.
30+
> You can name your branch whatever you want, but it's recommended to name it something succinct and relevant to the changes you will be making.
3131
3232
> Before making new branches, be sure to checkout the `main` branch and ensure it's up to date.
3333

pydis_site/apps/content/resources/guides/pydis-guides/helping-others.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Presenting a solution that is considered a bad practice might be useful in certa
112112
> for i in range(len(your_list)):
113113
> print(your_list[i])
114114
>
115-
> The second replier gave a valid solution, but it's important that he clarifies that it is concidered a bad practice in Python, and that the first solution should usually be used in this case.
115+
> The second replier gave a valid solution, but it's important that he clarifies that it is considered a bad practice in Python, and that the first solution should usually be used in this case.
116116
117117

118118
## It's OK to Step Away

pydis_site/apps/resources/resources/tools/ides/thonny.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
description: A Python IDE specifially aimed at learning programming. Has a lot of
1+
description: A Python IDE specifically aimed at learning programming. Has a lot of
22
helpful features to help you understand your code.
33
name: Thonny
44
title_url: https://thonny.org/

0 commit comments

Comments
 (0)