Bump crate-ci/typos from 1.19.0 to 1.20.4 (#12907)

# Objective

- Adopting https://github.com/bevyengine/bevy/pull/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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Martín Maita 2024-04-08 17:31:11 +02:00 committed by GitHub
parent 74f52076a3
commit 3fc0c6869d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -214,7 +214,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Check for typos - name: Check for typos
uses: crate-ci/typos@v1.19.0 uses: crate-ci/typos@v1.20.4
- name: Typos info - name: Typos info
if: failure() if: failure()
run: | run: |

View file

@ -147,7 +147,7 @@ fn calculate_view(
// Orthographic view vector // Orthographic view vector
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)); 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));
} else { } else {
// Only valid for a perpective projection // Only valid for a perspective projection
V = normalize(view_bindings::view.world_position.xyz - world_position.xyz); V = normalize(view_bindings::view.world_position.xyz - world_position.xyz);
} }
return V; return V;

View file

@ -11,7 +11,9 @@ extend-exclude = [
# Match Whole Word - Case Sensitive # Match Whole Word - Case Sensitive
[default.extend-identifiers] [default.extend-identifiers]
iy = "iy" # Variable name used in bevy_gizmos. Probably stands for "y-axis index", as it's being used in loops.
ser = "ser" # ron::ser - Serializer ser = "ser" # ron::ser - Serializer
SME = "SME" # Subject Matter Expert
Sur = "Sur" # macOS Big Sur - South Sur = "Sur" # macOS Big Sur - South
# Match Inside a Word - Case Insensitive # Match Inside a Word - Case Insensitive
@ -23,6 +25,7 @@ TOI = "TOI" # Time of impact
extend-ignore-identifiers-re = [ extend-ignore-identifiers-re = [
"NDK", # NDK - Native Development Kit "NDK", # NDK - Native Development Kit
"inventario", # Inventory in Portuguese "inventario", # Inventory in Portuguese
"PNG", # PNG - Portable Network Graphics file format
# Used in bevy_mikktspace # Used in bevy_mikktspace
"iFO", "iFO",
"vOt", "vOt",