Skip to content

Commit 8f176d2

Browse files
committed
[DATALAD RUNCMD] run codespell throughout
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 319bcb2 commit 8f176d2

File tree

19 files changed

+29
-29
lines changed

19 files changed

+29
-29
lines changed

docs/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Here's what to have in mind and how to review a pull request:
147147

148148
* Don't worry too much about things like commit message styles, I will squash and merge customizing the commit manually.
149149

150-
* Also don't worry about style rules, there are already automatized tools checking that.
150+
* Also don't worry about style rules, there are already automated tools checking that.
151151

152152
And if there's any other style or consistency need, I'll ask directly for that, or I'll add commits on top with the needed changes.
153153

docs/tutorial/automatic-id-none-refresh.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ When we create a new `Hero` instance, we don't set the `id`:
3636

3737
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial001.py[ln:23-26]!}
3838

39-
# Code below ommitted 👇
39+
# Code below omitted 👇
4040
```
4141

4242
<details>
@@ -125,7 +125,7 @@ We can verify by creating a session using a `with` block and adding the objects.
125125

126126
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial001.py[ln:23-41]!}
127127

128-
# Code below ommitted 👇
128+
# Code below omitted 👇
129129
```
130130

131131
<details>
@@ -238,7 +238,7 @@ To confirm and understand how this **automatic expiration and refresh** of data
238238

239239
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial001.py[ln:33-58]!}
240240

241-
# Code below ommitted 👇
241+
# Code below omitted 👇
242242
```
243243

244244
<details>
@@ -271,7 +271,7 @@ Let's see how it works:
271271
```console
272272
$ python app.py
273273

274-
// Output above ommitted 👆
274+
// Output above omitted 👆
275275

276276
// After committing, the objects are expired and have no values
277277
After committing the session
@@ -335,7 +335,7 @@ You can do that too with `session.refresh(object)`:
335335

336336
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial001.py[ln:33-67]!}
337337

338-
# Code below ommitted 👇
338+
# Code below omitted 👇
339339
```
340340

341341
<details>
@@ -362,7 +362,7 @@ Here's how the output would look like:
362362
```console
363363
$ python app.py
364364

365-
// Output above ommitted 👆
365+
// Output above omitted 👆
366366

367367
// The first refresh
368368
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
@@ -427,7 +427,7 @@ And the output shows again the same data:
427427
```console
428428
$ python app.py
429429

430-
// Output above ommitted 👆
430+
// Output above omitted 👆
431431

432432
// By finishing the with block, the Session is closed, including a rollback of any pending transaction that could have been there and was not committed
433433
INFO Engine ROLLBACK

docs/tutorial/code-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Let's assume that now the file structure is:
168168

169169
### Circular Imports and Type Annotations
170170

171-
The problem with circular imports is that Python can't resolve them at <abbr title="While it is executing the program, as oposed to the code as just text in a file stored on disk.">*runtime*</abbr>.
171+
The problem with circular imports is that Python can't resolve them at <abbr title="While it is executing the program, as opposed to the code as just text in a file stored on disk.">*runtime*</abbr>.
172172

173173
But when using Python **type annotations** it's very common to need to declare the type of some variables with classes imported from other files.
174174

docs/tutorial/connect/create-connected-tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ This is the same model we have been using up to now, we are just adding the new
106106

107107
Most of that should look familiar:
108108

109-
The column will be named `team_id`. It will be an integer, and it could be `NULL` in the database (or `None` in Python), becase there could be some heroes that don't belong to any team.
109+
The column will be named `team_id`. It will be an integer, and it could be `NULL` in the database (or `None` in Python), because there could be some heroes that don't belong to any team.
110110

111111
We add a default of `None` to the `Field()` so we don't have to explicitly pass `team_id=None` when creating a hero.
112112

docs/tutorial/create-db-and-table-with-db-browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ Of course, you can also go and take a full SQL course or read a book about SQL,
164164

165165
We saw how to interact with SQLite databases in files using **DB Browser for SQLite** in a visual user interface.
166166

167-
We also saw how to use it to write some SQL directly to the SQLite database. This will be useful to verify the data in the database is looking correclty, to debug, etc.
167+
We also saw how to use it to write some SQL directly to the SQLite database. This will be useful to verify the data in the database is looking correctly, to debug, etc.
168168

169169
In the next chapters we will start using **SQLModel** to interact with the database, and we will continue to use **DB Browser for SQLite** at the same time to look at the database underneath. 🔍

docs/tutorial/fastapi/tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ But now, we need to deal with a bit of logistics and details we are not paying a
8282

8383
This test looks fine, but there's a problem.
8484

85-
If we run it, it will use the same **production database** that we are using to store our very important **heroes**, and we will end up adding unnecesary data to it, or even worse, in future tests we could end up removing production data.
85+
If we run it, it will use the same **production database** that we are using to store our very important **heroes**, and we will end up adding unnecessary data to it, or even worse, in future tests we could end up removing production data.
8686

8787
So, we should use an independent **testing database**, just for the tests.
8888

docs/tutorial/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Here are the commands you could use:
139139
// Remember that you might need to use python3.9 or similar 💡
140140
// Create the virtual environment using the module "venv"
141141
$ python3 -m venv env
142-
// ...here it creates the virtual enviroment in the directory "env"
142+
// ...here it creates the virtual environment in the directory "env"
143143
// Activate the virtual environment
144144
$ source ./env/bin/activate
145145
// Verify that the virtual environment is active
@@ -161,7 +161,7 @@ Here are the commands you could use:
161161
```console
162162
// Create the virtual environment using the module "venv"
163163
# >$ python3 -m venv env
164-
// ...here it creates the virtual enviroment in the directory "env"
164+
// ...here it creates the virtual environment in the directory "env"
165165
// Activate the virtual environment
166166
# >$ .\env\Scripts\Activate.ps1
167167
// Verify that the virtual environment is active

docs/tutorial/insert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The first step is to import the `Session` class:
171171
```Python hl_lines="3"
172172
{!./docs_src/tutorial/insert/tutorial001.py[ln:1-3]!}
173173

174-
# Code below ommitted 👇
174+
# Code below omitted 👇
175175
```
176176

177177
<details>

docs/tutorial/many-to-many/create-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,4 @@ INFO Engine ROLLBACK
179179

180180
## Recap
181181

182-
After setting up the model link, using it with **relationship attributes** is fairly straighforward, just Python objects. ✨
182+
After setting up the model link, using it with **relationship attributes** is fairly straightforward, just Python objects. ✨

docs/tutorial/one.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Let's see the utilities to read a single row.
1212

1313
## Continue From Previous Code
1414

15-
We'll continue with the same examples we have been using in the previous chapters to create and select data and we'll keep udpating them.
15+
We'll continue with the same examples we have been using in the previous chapters to create and select data and we'll keep updating them.
1616

1717
<details>
1818
<summary>👀 Full file preview</summary>

0 commit comments

Comments
 (0)