Commit Graph

44 Commits

Author SHA1 Message Date
5277c94fe4 Update the source sets configuration for the app and lib modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
cc22932fc9 CI: Bump Ruff version (0.12.0 → 0.13.1) 2025-09-19 08:40:51 -05:00
a3d4c7959a Update CI ruff pre-commit hooks 2025-06-18 12:58:36 +02:00
4310cb82b8 AccessKit integration for macOS, Linux, and Windows. 2025-04-08 20:25:47 +03:00
b106dfd4f9 Base accessibility API. 2025-04-08 20:14:28 +03:00
5edb235018 CI: Bump various pre-commit hooks 2025-04-07 08:23:35 -05:00
adc63c6149 CI: Replace pytest with pre-commit hook 2025-03-29 11:40:36 -05:00
1782c72592 Revert mypy update (1.15.0 -> 1.14.1) 2025-03-10 22:40:04 +01:00
96fdaa616b Style: Integrate #pragma once in builders/checks 2025-03-07 17:32:33 -06:00
f21364020c Update CI ruff & mypy pre-commit hooks 2025-03-07 17:27:47 +01:00
f2136399ea CI: Update ruff & mypy pre-commit hooks 2025-01-31 16:10:54 +01:00
048f8442e3 Style: Minor pre-commit & yaml adjustments 2024-12-29 10:51:11 -06:00
ff83fdcdd7 Pre-commit: Fix applying ruff to SCsub files
Also ignore iOS template dummy.h file for header guards check.

Update ruff to 0.8.4 while at it.
2024-12-28 10:19:46 +01:00
d8761f2c79 SCons: Improve colored output 2024-12-10 11:44:48 -06:00
b3a44a5567 Merge pull request #99490 from dalexeev/gds-tests-track-multiple-errors
GDScript: Support tracking multiple analyzer and runtime errors in tests
2024-11-29 22:02:02 +01:00
c35e4c41d2 Merge pull request #97716 from pafuent/add_half_precision_floating_point_to_stream_peer
Add half precision floating point support to `StreamPeer` and `FileAccess`
2024-11-22 14:54:19 -06:00
f86dcd4e67 GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
eb86670f94 Add half precision floating point support to StreamPeer
Closes godotengine/godot-proposals#5983

Adds put/get methods to `StreamPeer` that handles half precision
floating point values.
Adds endode/decode half precision floating point to `marshalls`.
Adds `get_half` and `store_half` to `FileAccess`

Co-Authored-By: "Alfonso J. Ramos" <theraot@gmail.com>
2024-11-12 08:46:52 -03:00
f2136384e4 CI: Update ruff & mypy pre-commit hooks
• ruff: 0.6.6 → 0.7.3
• mypy: 1.11.2 → 1.13.0
2024-11-11 11:27:42 -06:00
f2d036340c CI: Update clang format/tidy pre-commit versions 2024-11-04 23:52:58 -06:00
25b28aa887 Add .clang-format-glsl check 2024-10-25 15:11:36 -04:00
c92a6c7e27 CI: Update clang-format pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
fdc6ffd264 Style: Update ruff & mypy to latest versions 2024-09-20 09:36:09 -05:00
72c183ce8b CI: Update pre-commit clang-format to 18.1.8
• Modernized `.clang-format` file against latest LLVM config settings
2024-09-19 16:00:51 -05:00
89f9b0d908 Fix eslint .pre-commit-config.yaml by removing commas 2024-09-16 11:03:08 -04:00
41a81f5360 Style: Format yaml files 2024-09-13 08:06:53 -05:00
6a9c060883 Add support to the Android editor for signing and verifying Android apks
- Apk signing and verification is enabled using the apksig library from ac5cbb07d8
2024-08-26 11:38:49 -07:00
a5897d579b Update the GodotHost interface to support signing and verifying Android apks
Update the export logic to enable apk generation and signing for Android editor builds

Note: Only legacy builds are supported. Gradle builds are not supported at this point in time.
2024-08-26 11:16:38 -07:00
4af1068688 CI: Add svgo pre-commit hook 2024-06-23 08:14:54 -05:00
576c9e4fe8 CI: Add pre-commit hook for clang-tidy
• Set to "manual" so it isn't invoked in normal workflow
• Modernize `.clang-tidy` file
2024-06-17 11:27:18 -05:00
26859357c5 CI: Migrate codespell logic to pyproject.toml 2024-06-03 10:19:58 -05:00
48509590fd CI: Make local python hooks multi-platform 2024-06-02 13:22:34 -05:00
1a89ae70eb Upgrade to eslint 9 2024-05-22 11:32:25 +02:00
c40c89f94c Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
d9f8ef68df Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
00e52d975c Pre-commit: Allow adding downstream hooks without (less) risk of conflicts
Apply Godot copyright header only on the platform folders that we maintain upstream.
This lets downstream forks decide what to do with their potential proprietary platforms.
2024-05-21 15:58:47 +02:00
0430704382 Fix for jsdoc hook in pre-commit 2024-05-16 13:50:13 +02:00
f4e58691c2 SCons: Consolidate pysettings via pyproject.toml 2024-05-14 12:01:48 -05:00
df969ff742 CI: Overhaul static checks to use pre-commit 2024-05-08 10:30:24 -05:00
e520359147 Pre-commit: Fix copyright_headers.py to run on all relevant files
It was only running on the first file passed by pre-commit, instead of all.
Fixes compatibility with Windows paths to get the basename.
2024-03-15 15:32:50 +01:00
f2045ba822 Merge pull request #88933 from raulsntos/dotnet/pre-commit
Move dotnet-format script to pre-commit
2024-03-02 10:48:25 +01:00
97851f0340 Move dotnet-format script to pre-commit
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2024-03-02 08:25:48 +01:00
3a08c646ee Pre-commit: Update to clang-format 17.0.6 and black 24.2.0 2024-02-28 14:25:35 +01:00
20c563de40 Replace hand-written pre-commit hooks with pre-commit Python tool
`pre-commit` can be installed with pip, and configured in the Godot repo with
`pre-commit install`. It can then easily be run both locally with
`pre-commit run`, and on CI, in a cross-platform way.

This makes it much easier for contributors to set up pre-commit hooks,
without having to manually copy files to their git folder.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-26 14:57:53 +01:00