Godot Engine – Multi-platform 2D and 3D game engine
CI: Bump codespell (2.4.1 → 2.4.2)
Thaddeus Crews2a6c3fe26d91
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 1825d34f6f3..1fed03a034c 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -65,7 +65,7 @@ repos:types_or: [text]- repo: https://github.com/codespell-project/codespell- rev: v2.4.1+ rev: v2.4.2hooks:- id: codespelladditional_dependencies: [tomli]diff --git a/core/math/basis.cpp b/core/math/basis.cppindex 48bba25dc22..fe2984b27ac 100644--- a/core/math/basis.cpp+++ b/core/math/basis.cpp@@ -755,7 +755,7 @@ void Basis::get_axis_angle(Vector3 &r_axis, real_t &r_angle) const {#endif*/- // https://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToAngle/index.htm+ // https://www.euclideanspace.com/math/geometry/rotations/conversions/matrixToAngle/index.htmreal_t x, y, z; // Variables for result.if (Math::is_zero_approx(rows[0][1] - rows[1][0]) && Math::is_zero_approx(rows[0][2] - rows[2][0]) && Math::is_zero_approx(rows[1][2] - rows[2][1])) {// Singularity found.diff --git a/modules/noise/tests/test_fastnoise_lite.h b/modules/noise/tests/test_fastnoise_lite.hindex 2b011a8064f..c8a2b7a57ee 100644--- a/modules/noise/tests/test_fastnoise_lite.h+++ b/modules/noise/tests/test_fastnoise_lite.h@@ -586,7 +586,7 @@ const Vector<uint8_t> ref_img_1_data = { 0xff, 0xe6, 0xd2, 0xc2, 0xb7, 0xb4, 0xbconst Vector<uint8_t> ref_img_2_data = { 0xff, 0xe6, 0xd2, 0xc2, 0xb7, 0xb4, 0xb4, 0xb7, 0xc2, 0xd2, 0xe6, 0xe6, 0xcb, 0xb4, 0xa1, 0x94, 0x90, 0x90, 0x94, 0xa1, 0xb4, 0xcb, 0xd2, 0xb4, 0x99, 0x82, 0x72, 0x6c, 0x6c, 0x72, 0x82, 0x99, 0xb4, 0xc2, 0xa1, 0x82, 0x65, 0x50, 0x48, 0x48, 0x50, 0x65, 0x82, 0xa1, 0xb7, 0x94, 0x72, 0x50, 0x32, 0x24, 0x24, 0x32, 0x50, 0x72, 0x94, 0xb4, 0x90, 0x6c, 0x48, 0x24, 0x0, 0x0, 0x24, 0x48, 0x6c, 0x90, 0xb4, 0x90, 0x6c, 0x48, 0x24, 0x0, 0x0, 0x24, 0x48, 0x6c, 0x90, 0xb7, 0x94, 0x72, 0x50, 0x32, 0x24, 0x24, 0x33, 0x50, 0x72, 0x94, 0xc2, 0xa1, 0x82, 0x65, 0x50, 0x48, 0x48, 0x50, 0x66, 0x82, 0xa1, 0xd2, 0xb4, 0x99, 0x82, 0x72, 0x6c, 0x6c, 0x72, 0x82, 0x99, 0xb4, 0xe6, 0xcb, 0xb4, 0xa1, 0x94, 0x90, 0x90, 0x94, 0xa1, 0xb4, 0xcc };const Vector<uint8_t> ref_img_3_data = { 0xff, 0xe6, 0xd2, 0xc2, 0xb7, 0xb4, 0xb4, 0xb7, 0xc2, 0xd2, 0xe6, 0xe6, 0xcb, 0xb4, 0xa1, 0x94, 0x90, 0x90, 0x94, 0xa1, 0xb4, 0xcb, 0xd2, 0xb4, 0x99, 0x82, 0x72, 0x6c, 0x6c, 0x72, 0x82, 0x99, 0xb4, 0xc2, 0xa1, 0x82, 0x65, 0x50, 0x48, 0x48, 0x50, 0x65, 0x82, 0xa1, 0xb7, 0x94, 0x72, 0x50, 0x32, 0x24, 0x24, 0x32, 0x50, 0x72, 0x94, 0xb4, 0x90, 0x6c, 0x48, 0x24, 0x0, 0x0, 0x24, 0x48, 0x6c, 0x90, 0xb4, 0x90, 0x6c, 0x48, 0x24, 0x0, 0x0, 0x24, 0x48, 0x6c, 0x90, 0xb7, 0x94, 0x72, 0x50, 0x32, 0x24, 0x24, 0x33, 0x50, 0x72, 0x94, 0xc2, 0xa1, 0x82, 0x65, 0x50, 0x48, 0x48, 0x50, 0x66, 0x82, 0xa1, 0xd2, 0xb4, 0x99, 0x82, 0x72, 0x6c, 0x6c, 0x72, 0x82, 0x99, 0xb4, 0xe6, 0xcb, 0xb4, 0xa1, 0x94, 0x90, 0x90, 0x94, 0xa1, 0xb4, 0xcc };-// Utiliy function to compare two images pixel by pixel (for easy debugging of regressions)+// Utility function to compare two images pixel by pixel (for easy debugging of regressions)void compare_image_with_reference(const Ref<Image> &p_img, const Ref<Image> &p_reference_img) {for (int y = 0; y < p_img->get_height(); y++) {for (int x = 0; x < p_img->get_width(); x++) {diff --git a/platform/linuxbsd/wayland/wayland_thread.cpp b/platform/linuxbsd/wayland/wayland_thread.cppindex bd51ba66854..8e9a5cc2d49 100644--- a/platform/linuxbsd/wayland/wayland_thread.cpp+++ b/platform/linuxbsd/wayland/wayland_thread.cpp@@ -5406,7 +5406,7 @@ void WaylandThread::pointer_set_hint(const Point2i &p_hint) {// NOTE: It looks like it's not really recommended to convert from// "godot-space" to "wayland-space" and in general I received mixed feelings- // discussing about this. I'm not really sure about the maths behind this but,+ // discussing about this. I'm not really sure about the math behind this but,// oh well, we're setting a cursor hint. ¯\_(ツ)_/¯// See: https://oftc.irclog.whitequark.org/wayland/2023-08-23#1692756914-1692816818int hint_x = Math::round(p_hint.x / window_state_get_scale_factor(ws));@@ -5443,7 +5443,7 @@ void WaylandThread::pointer_warp(const Point2i &p_to) {// NOTE: It looks like it's not really recommended to convert from// "godot-space" to "wayland-space" and in general I received mixed feelings- // discussing about this. I'm not really sure about the maths behind this but,+ // discussing about this. I'm not really sure about the math behind this but,// oh well. ¯\_(ツ)_/¯// See: https://oftc.irclog.whitequark.org/wayland/2023-08-23#1692756914-1692816818int wl_pos_x = Math::round(p_to.x / window_state_get_scale_factor(ws));diff --git a/pyproject.toml b/pyproject.tomlindex f00b29327aa..6b5079737ee 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -71,6 +71,7 @@ skip = ["core/input/gamecontrollerdb.txt","core/string/locales.h","DONORS.md",+ "editor/import/unicode_ranges.inc","editor/project_converter_3_to_4.cpp","platform/android/java/lib/src/main/java/com/*","platform/web/package-lock.json",