Skip to content

Commit 3fc0c68

Browse files
Bump crate-ci/typos from 1.19.0 to 1.20.4 (#12907)
# Objective - Adopting #12903. ## Solution - Bump crate-ci/typos from 1.19.0 to 1.20.4. - Fixed a typo in `crates/bevy_pbr/src/render/pbr_functions.wgsl` file. - Added "PNG", "iy" and "SME" as exceptions to prevent false positives. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 74f5207 commit 3fc0c68

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
steps:
215215
- uses: actions/checkout@v4
216216
- name: Check for typos
217-
uses: crate-ci/typos@v1.19.0
217+
uses: crate-ci/typos@v1.20.4
218218
- name: Typos info
219219
if: failure()
220220
run: |

crates/bevy_pbr/src/render/pbr_functions.wgsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn calculate_view(
147147
// Orthographic view vector
148148
V = normalize(vec3<f32>(view_bindings::view.view_proj[0].z, view_bindings::view.view_proj[1].z, view_bindings::view.view_proj[2].z));
149149
} else {
150-
// Only valid for a perpective projection
150+
// Only valid for a perspective projection
151151
V = normalize(view_bindings::view.world_position.xyz - world_position.xyz);
152152
}
153153
return V;

typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ extend-exclude = [
1111

1212
# Match Whole Word - Case Sensitive
1313
[default.extend-identifiers]
14+
iy = "iy" # Variable name used in bevy_gizmos. Probably stands for "y-axis index", as it's being used in loops.
1415
ser = "ser" # ron::ser - Serializer
16+
SME = "SME" # Subject Matter Expert
1517
Sur = "Sur" # macOS Big Sur - South
1618

1719
# Match Inside a Word - Case Insensitive
@@ -23,6 +25,7 @@ TOI = "TOI" # Time of impact
2325
extend-ignore-identifiers-re = [
2426
"NDK", # NDK - Native Development Kit
2527
"inventario", # Inventory in Portuguese
28+
"PNG", # PNG - Portable Network Graphics file format
2629
# Used in bevy_mikktspace
2730
"iFO",
2831
"vOt",

0 commit comments

Comments
 (0)