Skip to content

Commit 72c58b5

Browse files
committed
chore(project): update checks and fix spelling
1 parent e7faf08 commit 72c58b5

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repos:
4646
- id: ruff-format
4747

4848
- repo: https://github.com/crate-ci/typos
49-
rev: v1.47.0
49+
rev: v1.47.2
5050
hooks:
5151
- id: typos
5252
stages: [pre-commit]

documentation/CodeStyle.org

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ style, unless there is a good reason not to.
4444

4545
* Formatting
4646

47-
See [[../.clang-format]], [[../.editorconfig]], [[../.pre-commit-config.yaml]], and
48-
[[../pyproject.toml]] for formatting settings.
47+
See [[../.clang-format][.clang-format]], [[../.editorconfig][.editorconfig]], [[../.pre-commit-config.yaml][.pre-commit-config.yaml]], and [[../pyproject.toml][pyproject.toml]] for
48+
formatting settings.
4949

5050
* Abbreviations
5151

@@ -54,8 +54,8 @@ Minimize the use of abbreviations. Capitalize abbreviations as single words (~Ht
5454

5555
* Language
5656

57-
See [[../.dir-locals.el]] for spellcheck settings.
57+
American English.
5858

5959
* Encoding
6060

61-
ASCII or UTF-8.
61+
ASCII or UTF-8, no BOM.

media/Typist.pk3/words/tt_1000.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ coat
153153
coin
154154
cold
155155
collect
156-
colour
156+
color
157157
comb
158158
come
159159
common

modules/libeye.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ class NAMESPACE_ProjScreen {
445445

446446
// kd: This holds: aspect ratio = tan(horizontal fov) / tan(ver fov).
447447
// gzd always uses hor fov, but the fov only holds in 4:3 (in a 4:3 box
448-
// in your screen centre), so we just extend it.
448+
// in your screen center), so we just extend it.
449449
tan_fov_2.x = tan(hor_fov / 2) * aspect_ratio / (4.0 / 3);
450450
tan_fov_2.y = tan_fov_2.x / aspect_ratio;
451451
}
@@ -1117,7 +1117,7 @@ It merely demonstrates it works.)
11171117
will cause a desync in multiplayer.
11181118

11191119
You can fix this by restricting the cursor to a certain fov value, like 90°
1120-
which would be the 4:3 box in the screen centre (assuming you didn't zoom
1120+
which would be the 4:3 box in the screen center (assuming you didn't zoom
11211121
or anything).
11221122

11231123
*/

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ format.quote-style = "single"
1010

1111
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
1212
[tool.typos]
13+
files.ignore-hidden = false
14+
default.locale = "en-us"
1315
default.extend-ignore-re = [
1416
"SPDX-FileCopyrightText = .*",
1517
# Ignore blocks between `# spellchecker:off` and `# spellchecker:on`

0 commit comments

Comments
 (0)