summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* CI: Add `svgo` pre-commit hookThaddeus Crews2024-06-231-0/+8
|
* CI: Add pre-commit hook for `clang-tidy`Thaddeus Crews2024-06-171-0/+16
| | | | | • Set to "manual" so it isn't invoked in normal workflow • Modernize `.clang-tidy` file
* CI: Migrate codespell logic to `pyproject.toml`Thaddeus Crews2024-06-031-29/+2
|
* CI: Make local python hooks multi-platformThaddeus Crews2024-06-021-15/+16
|
* Upgrade to eslint 9patwork2024-05-221-31/+16
|
* Merge pull request #90457 from Chubercik/ruff-formatterRémi Verschelde2024-05-221-5/+5
|\ | | | | | | Replace `black` formatter with `ruff`
| * Update pre-commit hooks configuration to use `ruff` instead of `black`Jakub Marcowski2024-05-211-5/+5
| |
* | Pre-commit: Allow adding downstream hooks without (less) risk of conflictsRémi Verschelde2024-05-211-0/+13
|/ | | | | 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.
* Fix for jsdoc hook in pre-commitpatwork2024-05-161-2/+12
|
* SCons: Consolidate pysettings via `pyproject.toml`Thaddeus Crews2024-05-141-3/+0
|
* CI: Overhaul static checks to use `pre-commit`Thaddeus Crews2024-05-081-13/+139
|
* Pre-commit: Fix `copyright_headers.py` to run on all relevant filesRémi Verschelde2024-03-151-2/+2
| | | | | It was only running on the first file passed by pre-commit, instead of all. Fixes compatibility with Windows paths to get the basename.
* Merge pull request #88933 from raulsntos/dotnet/pre-commitRémi Verschelde2024-03-021-0/+6
|\ | | | | Move dotnet-format script to pre-commit
| * Move dotnet-format script to pre-commitRaul Santos2024-03-021-0/+6
| | | | | | | | Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
* | Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-2/+2
|/
* Replace hand-written pre-commit hooks with `pre-commit` Python toolAarni Koskela2024-02-261-0/+49
`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>