Commit Graph

23 Commits

Author SHA1 Message Date
Rémi Verschelde c92a6c7e27
CI: Update `clang-format` pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
Thaddeus Crews fdc6ffd264
Style: Update `ruff` & `mypy` to latest versions 2024-09-20 09:36:09 -05:00
Thaddeus Crews 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
Adam Scott 89f9b0d908
Fix eslint .pre-commit-config.yaml by removing commas 2024-09-16 11:03:08 -04:00
Thaddeus Crews 41a81f5360
Style: Format yaml files 2024-09-13 08:06:53 -05:00
Fredia Huya-Kouadio 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
Fredia Huya-Kouadio 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
Thaddeus Crews 4af1068688
CI: Add `svgo` pre-commit hook 2024-06-23 08:14:54 -05:00
Thaddeus Crews 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
Thaddeus Crews 26859357c5
CI: Migrate codespell logic to `pyproject.toml` 2024-06-03 10:19:58 -05:00
Thaddeus Crews 48509590fd
CI: Make local python hooks multi-platform 2024-06-02 13:22:34 -05:00
patwork 1a89ae70eb Upgrade to eslint 9 2024-05-22 11:32:25 +02:00
Rémi Verschelde c40c89f94c
Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
Jakub Marcowski d9f8ef68df
Update pre-commit hooks configuration to use `ruff` instead of `black` 2024-05-21 18:02:29 -05:00
Rémi Verschelde 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
patwork 0430704382 Fix for jsdoc hook in pre-commit 2024-05-16 13:50:13 +02:00
Thaddeus Crews f4e58691c2
SCons: Consolidate pysettings via `pyproject.toml` 2024-05-14 12:01:48 -05:00
Thaddeus Crews df969ff742
CI: Overhaul static checks to use `pre-commit` 2024-05-08 10:30:24 -05:00
Rémi Verschelde 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
Rémi Verschelde 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
Raul Santos 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
Rémi Verschelde 3a08c646ee
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0 2024-02-28 14:25:35 +01:00
Aarni Koskela 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